Index: branches/5.2.x/core/units/permissions/permissions_tag_processor.php =================================================================== diff -u -N -r15012 -r15137 --- branches/5.2.x/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 15012) +++ branches/5.2.x/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 15137) @@ -1,6 +1,6 @@ Application->recallObject('SectionsHelper'); + $sections_helper = $this->Application->recallObject('SectionsHelper'); /* @var $sections_helper kSectionsHelper */ $section_data =& $sections_helper->getSectionData($section_name); @@ -32,7 +32,7 @@ { $section_name = $params['section_name']; - $sections_helper =& $this->Application->recallObject('SectionsHelper'); + $sections_helper = $this->Application->recallObject('SectionsHelper'); /* @var $sections_helper kSectionsHelper */ $section_data =& $sections_helper->getSectionData($section_name); @@ -52,7 +52,7 @@ $section_name = $params['section_name']; $perm_name = $params['perm_name']; - $sections_helper =& $this->Application->recallObject('SectionsHelper'); + $sections_helper = $this->Application->recallObject('SectionsHelper'); /* @var $sections_helper kSectionsHelper */ $section_data =& $sections_helper->getSectionData($section_name); @@ -62,7 +62,7 @@ $section_name = $this->Application->getUnitOption($section_data['perm_prefix'].'.main', 'PermSection'); } - $permissions_helper =& $this->Application->recallObject('PermissionsHelper'); + $permissions_helper = $this->Application->recallObject('PermissionsHelper'); /* @var $permissions_helper kPermissionsHelper */ if (!$permissions_helper->isOldPermission($section_name, $perm_name)) { @@ -74,7 +74,7 @@ function LoadPermissions($params) { - $permissions_helper =& $this->Application->recallObject('PermissionsHelper'); + $permissions_helper = $this->Application->recallObject('PermissionsHelper'); $prefix_parts = explode('-', $this->Prefix, 2); /* @var $permissions_helper kPermissionsHelper */ @@ -88,7 +88,7 @@ function PrintPermissions($params) { - $category =& $this->Application->recallObject('c'); + $category = $this->Application->recallObject('c'); /* @var $category kDBItem */ $group_id = $this->Application->GetVar('group_id'); @@ -204,7 +204,7 @@ $id_field = $this->Application->getUnitOption('c', 'IDField'); $table_name = $this->Application->getUnitOption('c', 'TableName'); - $ml_formatter =& $this->Application->recallObject('kMultiLanguage'); + $ml_formatter = $this->Application->recallObject('kMultiLanguage'); /* @var $ml_formatter kMultiLanguage */ $sql = 'SELECT ' . $ml_formatter->LangFieldName('CachedNavbar') . '