Marius Cramer
2013-10-14 992797f73c92b413a7fecff02c27c61b7db55b43
interface/lib/classes/remoting_lib.inc.php
@@ -785,7 +785,7 @@
                } else {
                        if($primary_id != 0) {
                                // update client permissions only if client_id > 0
                        if($this->formDef['auth'] == 'yes' && $this->client_id > 0 && $this->sys_userid > 0 && $this->sys_default_group > 0) {
                        if($this->formDef['auth'] == 'yes' && $this->client_id > 0) {
                           $sql_update .= '`sys_userid` = '.$this->sys_userid.', ';
                           $sql_update .= '`sys_groupid` = '.$this->sys_default_group.', ';
                        }