Index: branches/5.2.x/core/units/theme_files/theme_file_eh.php =================================================================== diff -u -N -r15065 -r15130 --- branches/5.2.x/core/units/theme_files/theme_file_eh.php (.../theme_file_eh.php) (revision 15065) +++ branches/5.2.x/core/units/theme_files/theme_file_eh.php (.../theme_file_eh.php) (revision 15130) @@ -1,6 +1,6 @@ Name == 'OnLoadBlock' || $event->Name == 'OnSaveBlock' ) { return $this->Application->isAdminUser; @@ -59,7 +59,7 @@ * @return void * @access protected */ - protected function OnAfterItemLoad(kEvent &$event) + protected function OnAfterItemLoad(kEvent $event) { parent::OnAfterItemLoad($event); @@ -83,7 +83,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -105,7 +105,7 @@ * @return void * @access protected */ - protected function OnAfterItemUpdate(kEvent &$event) + protected function OnAfterItemUpdate(kEvent $event) { parent::OnAfterItemUpdate($event); @@ -154,7 +154,7 @@ * * @param kEvent $event */ - function OnLoadBlock(&$event) + function OnLoadBlock($event) { parent::OnNew($event); @@ -177,7 +177,7 @@ * * @param kEvent $event */ - function OnSaveBlock(&$event) + function OnSaveBlock($event) { $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */ @@ -211,7 +211,7 @@ * * @param kEvent $event */ - function OnSaveLayout(&$event) + function OnSaveLayout($event) { $event->status = kEvent::erSTOP; if (($this->Application->GetVar('ajax') != 'yes') || (EDITING_MODE != EDITING_MODE_DESIGN)) {