Index: branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php =================================================================== diff -u -N -r15065 -r15130 --- branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php (.../form_submissions_eh.php) (revision 15065) +++ branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php (.../form_submissions_eh.php) (revision 15130) @@ -1,6 +1,6 @@ Application->isAdmin ) { if ( $event->Name == 'OnCreate' ) { @@ -81,7 +81,7 @@ return $mapping[$element_type]; } - function OnBuildFormFields(&$event) + function OnBuildFormFields($event) { $form_id = $this->Application->GetVar('form_id'); if (!$form_id) return ; @@ -181,7 +181,7 @@ * @access protected * @see kDBEventHandler::OnListBuild() */ - protected function SetCustomQuery(kEvent &$event) + protected function SetCustomQuery(kEvent $event) { parent::SetCustomQuery($event); @@ -198,7 +198,7 @@ * @return int * @access public */ - public function getPassedID(kEvent &$event) + public function getPassedID(kEvent $event) { if ( $event->Special == 'last' ) { // allow user to see his last submitted form @@ -221,7 +221,7 @@ * @return void * @access protected */ - protected function OnCreate(kEvent &$event) + protected function OnCreate(kEvent $event) { parent::OnCreate($event); @@ -275,7 +275,7 @@ * @return void * @access protected */ - protected function OnBeforeItemCreate(kEvent &$event) + protected function OnBeforeItemCreate(kEvent $event) { parent::OnBeforeItemCreate($event); @@ -316,7 +316,7 @@ * @return void * @access protected */ - protected function OnBeforeItemUpdate(kEvent &$event) + protected function OnBeforeItemUpdate(kEvent $event) { parent::OnBeforeItemUpdate($event); @@ -333,7 +333,7 @@ * @return void * @access protected */ - protected function OnPreSaveAndGo(kEvent &$event) + protected function OnPreSaveAndGo(kEvent $event) { parent::OnPreSaveAndGo($event); @@ -350,7 +350,7 @@ * @return void * @access protected */ - protected function OnPreSaveAndGoToTab(kEvent &$event) + protected function OnPreSaveAndGoToTab(kEvent $event) { parent::OnPreSaveAndGoToTab($event); @@ -366,7 +366,7 @@ * @return void * @access protected */ - protected function OnSetPerPage(kEvent &$event) + protected function OnSetPerPage(kEvent $event) { parent::OnSetPerPage($event); @@ -380,7 +380,7 @@ * @return void * @access protected */ - protected function OnSetPage(kEvent &$event) + protected function OnSetPage(kEvent $event) { parent::OnSetPage($event); @@ -394,7 +394,7 @@ * @return void * @access protected */ - protected function OnAfterItemLoad(kEvent &$event) + protected function OnAfterItemLoad(kEvent $event) { parent::OnAfterItemLoad($event); @@ -491,7 +491,7 @@ * @return void * @access protected */ - protected function OnUpdate(kEvent &$event) + protected function OnUpdate(kEvent $event) { parent::OnUpdate($event);