Commit aebc94e9 authored by mrtnzlml's avatar mrtnzlml
Browse files
parent 48af7df6
......@@ -784,8 +784,8 @@ class remoting_lib {
if($primary_id != 0) {
// update client permissions only if client_id > 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.', ';
$sql_update .= '`sys_userid` = "'.$this->sys_userid.'", ';
$sql_update .= '`sys_groupid` = "'.$this->sys_default_group.'", ';
}
$sql_update = substr($sql_update,0,-2);
$sql = "UPDATE ".$escape.$this->formDef['db_table'].$escape." SET ".$sql_update." WHERE ".$this->formDef['db_table_idx']." = ".$primary_id;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment