Index: branches/unlabeled/unlabeled-1.108.2/globals.php =================================================================== diff -u -N -r5515 -r5626 --- branches/unlabeled/unlabeled-1.108.2/globals.php (.../globals.php) (revision 5515) +++ branches/unlabeled/unlabeled-1.108.2/globals.php (.../globals.php) (revision 5626) @@ -2055,7 +2055,7 @@ return GetVar($field_name); } - function checkActionPermission($action_mapping, $action) + function checkActionPermission($action_mapping, $action, $system = 0) { $application =& kApplication::Instance(); @@ -2067,7 +2067,7 @@ $perm_status = false; $action_mapping = explode('|', $action_mapping[$action]); foreach ($action_mapping as $perm_name) { - $perm_status = $application->CheckPermission($perm_name, 0); + $perm_status = $application->CheckPermission($perm_name, $system); if ($perm_status) { break; }