dns-alle group has pk=1

This commit is contained in:
nikolark committed 2014-07-29 10:58:30 +02:00
1 parent 19a5730cdc
commit afa8feafb0
1 file changed
+2 -2
+2 -2
View File
@@ -331,10 +331,10 @@ function update_user($data) {
function update_user_groups($data) {
global $conn;
// add to dns-alle (2)
// add to dns-alle (1)
$group = array(
'user_id' => $data['userid'],
'group_id' => 2
'group_id' => 1
);
$res = $conn->autoExecute('din_usergrouprelationship', $group, DB_AUTOQUERY_INSERT);