Index: branches/5.2.x/core/units/helpers/permissions_helper.php =================================================================== diff -u -N -r15012 -r15130 --- branches/5.2.x/core/units/helpers/permissions_helper.php (.../permissions_helper.php) (revision 15012) +++ branches/5.2.x/core/units/helpers/permissions_helper.php (.../permissions_helper.php) (revision 15130) @@ -1,6 +1,6 @@ getEventParam('top_prefix'); @@ -95,7 +95,7 @@ * @param Array $perm_mapping * @return bool */ - function CheckEventPermission(&$event, $perm_mapping) + function CheckEventPermission($event, $perm_mapping) { $section = $event->getSection(); if (preg_match('/^CATEGORY:(.*)/', $section)) { @@ -175,7 +175,7 @@ * @param Array $event_perm_mapping * @return bool */ - function _frontCheckEventCategoryPermission(&$event, $event_perm_mapping) + function _frontCheckEventCategoryPermission($event, $event_perm_mapping) { // mapping between specific permissions and common permissions static $perm_mapping = Array( @@ -278,7 +278,7 @@ * @param bool $perm_status * @return bool */ - function finalizePermissionCheck(&$event, $perm_status) + function finalizePermissionCheck($event, $perm_status) { if (!$perm_status) { if (MOD_REWRITE) { @@ -311,7 +311,7 @@ * @param bool $new_item * @return mixed */ - function checkCombinedPermissions(&$event, $owner_id, $category_id, $new_item = false) + function checkCombinedPermissions($event, $owner_id, $category_id, $new_item = false) { $ret = null; // true/false when used, null when not used $top_prefix = $event->getEventParam('top_prefix'); @@ -359,7 +359,7 @@ * @param Array $event_perm_mapping * @return mixed */ - function CheckEventCategoryPermission(&$event, $event_perm_mapping) + function CheckEventCategoryPermission($event, $event_perm_mapping) { if (!$this->Application->isAdmin) { // check front-end permission by old scheme