Index: branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php (.../form_submissions_eh.php) (revision 15130) +++ branches/5.2.x/core/units/forms/form_submissions/form_submissions_eh.php (.../form_submissions_eh.php) (revision 15137) @@ -1,6 +1,6 @@ Application->getUnitOption($event->Prefix, 'Fields'); $conf_grids = $this->Application->getUnitOption($event->Prefix, 'Grids'); - $helper =& $this->Application->recallObject('InpCustomFieldsHelper'); + $helper = $this->Application->recallObject('InpCustomFieldsHelper'); /* @var $helper InpCustomFieldsHelper */ $sql = 'SELECT * @@ -235,7 +235,7 @@ // allows user to view only it's last submission $this->Application->StoreVar('last_submission_id', $object->GetID()); - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($object); @@ -259,7 +259,7 @@ $event->SetRedirectParam('opener', 's'); $event->SetRedirectParam('m_cat_id', 0); - $theme =& $this->Application->recallObject('theme.current'); + $theme = $this->Application->recallObject('theme.current'); /* @var $theme kDBItem */ $template = kUtil::unhtmlentities($this->Application->GetVar('success_template')); // kHTTPQuery do htmlspecialchars on everything @@ -295,14 +295,14 @@ $object->SetDBField('ReferrerURL', $referrer); } - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($object); // validate captcha code if ( $form->GetDBField('UseSecurityImage') && !$this->Application->LoggedIn() ) { - $captcha_helper =& $this->Application->recallObject('CaptchaHelper'); + $captcha_helper = $this->Application->recallObject('CaptchaHelper'); /* @var $captcha_helper kCaptchaHelper */ $captcha_helper->validateCode($event, false); @@ -412,7 +412,7 @@ return ; } - $merge_to =& $this->Application->recallObject($event->Prefix . '.merge-to', null, Array ('skip_autoload' => true)); + $merge_to = $this->Application->recallObject($event->Prefix . '.merge-to', null, Array ('skip_autoload' => true)); /* @var $merge_to kDBItem */ $sql = $merge_to->GetSelectSQL() . ' WHERE (FormId = ' . $form_id . ') AND (' . $email_field . ' = ' . $this->Conn->qstr( $object->GetDBField($email_field) ) . ')'; @@ -430,7 +430,7 @@ $name_field = $this->getFieldByRole($form_id, SubmissionFormField::COMMUNICATION_ROLE_NAME); $subject_field = $this->getFieldByRole($form_id, SubmissionFormField::COMMUNICATION_ROLE_SUBJECT); - $language =& $this->Application->recallObject('lang.current'); + $language = $this->Application->recallObject('lang.current'); /* @var $language kDBItem */ $date_format = $language->GetDBField('DateFormat'); @@ -512,7 +512,7 @@ WHERE FormId = ' . $form_id; $form_info = $this->Conn->GetRow($sql); - $reply =& $this->Application->recallObject('submission-log.merge', null, Array ('skip_autoload' => true)); + $reply = $this->Application->recallObject('submission-log.merge', null, Array ('skip_autoload' => true)); /* @var $reply kDBItem */ $email_field = $this->getFieldByRole($form_id, SubmissionFormField::COMMUNICATION_ROLE_EMAIL);