File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ function onAfterUpdate() {
393393 $ client_id = intval ($ client ["client_id " ]);
394394 }
395395
396- if (($ _SESSION ["s " ]["user " ]["typ " ] == 'admin ' || $ app ->auth ->has_clients ($ _SESSION ['s ' ]['user ' ]['userid ' ])) && isset ($ this ->dataRecord ["client_group_id " ]) && $ this ->dataRecord ["client_group_id " ] != $ this ->oldDataRecord ["client_group_id " ]) {
396+ if (($ _SESSION ["s " ]["user " ]["typ " ] == 'admin ' || $ app ->auth ->has_clients ($ _SESSION ['s ' ]['user ' ]['userid ' ])) && isset ($ this ->dataRecord ["client_group_id " ]) && $ this ->dataRecord ["client_group_id " ] != $ this ->oldDataRecord ["sys_groupid " ]) {
397397 // Set the values for document_root, system_user and system_group
398398 $ system_user = $ app ->db ->quote ('web ' .$ this ->id );
399399 $ system_group = $ app ->db ->quote ('client ' .$ client_id );
You can’t perform that action at this time.
0 commit comments