Skip to content

Commit cacfe8d

Browse files
committed
Correct an obvious typo ... maybe remove as the code path below was unreachable
1 parent e5ac917 commit cacfe8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ protected function _getSQL($record, $tab, $action = 'INSERT', $primary_id = 0, $
13841384
} else {
13851385
if($this->formDef['auth'] == 'yes') {
13861386
if($primary_id != 0) {
1387-
if($api == true && $_SESSION["s"]["user"]["client_id"] > 0 && $_SESSION["s"]["user"]["iserid"] > 0 && $_SESSION["s"]["user"]["default_group"] > 0) {
1387+
if($api == true && $_SESSION["s"]["user"]["client_id"] > 0 && $_SESSION["s"]["user"]["userid"] > 0 && $_SESSION["s"]["user"]["default_group"] > 0) {
13881388
$sql_update .= '`sys_userid` = '.$this->sys_userid.', ';
13891389
$sql_update .= '`sys_groupid` = '.$this->sys_default_group.', ';
13901390
}

0 commit comments

Comments
 (0)