Security Assist Rule User Is Owner ie user is logged in as the owner of the record
I am getting this error with my rule that I created to only allow the owner of the record to access the page ie.
Page url and log in credentials to duplicate error are in private message as well as FTP.
I have a backup of the helpergrouprules.php on the server.
/security_assist/helpergroupsrulesphp.php:41 Stack trace: #0 /homepages/26/d861213362/htdocs/outdoortradersmarket/webassist/security_assist/helper_php.php(466): WA_Auth_GetComparisonsForRule('user is owner') #1 /homepages/26/d861213362/htdocs/outdoortradersmarket/webassist/security_assist/helper_php.php(461): WA_Auth_RuleObject_EvaluateRules('user is owner') #2 /homepages/26/d861213362/htdocs/outdoortradersmarket/user-profiles/user-update.php(26): WA_Auth_RulePasses('user is owner') #3 {main} thrown in /homepages/26/d861213362/htdocs/outdoortradersmarket/webassist/security_assist/helpergroupsrulesphp.php on line 41
Line 41 is
case "user is owner":
$comparisons[0] = array(TRUE, "".((isset($_SESSION['SecurityAssist_id']))?$_SESSION['SecurityAssist_id']:"") ."", 1, "".($WADAtbl_directorylistings_update->getColumnVal("id")) ."");
$comparisons[1] = array(FALSE, "".((isset($_SESSION['SecurityAssist_id']))?$_SESSION['SecurityAssist_id']:"") ."", 2, "".($WADAtbl_directorylistings_update->getColumnVal("id")) ."");
break;
case "Validated form":
$comparisons[0] = array(TRUE, "".((isset($_GET['invalid']))?$_GET['invalid']:"") ."", 2, "");
break;
}