Index: branches/5.2.x/core/units/forms/submission_log/submission_log_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/forms/submission_log/submission_log_eh.php (.../submission_log_eh.php) (revision 15130) +++ branches/5.2.x/core/units/forms/submission_log/submission_log_eh.php (.../submission_log_eh.php) (revision 15137) @@ -1,6 +1,6 @@ getObject(); /* @var $object kDBItem */ - $form_submission =& $this->Application->recallObject('formsubs'); + $form_submission = $this->Application->recallObject('formsubs'); /* @var $form_submission kDBItem */ - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($form_submission); @@ -106,7 +106,7 @@ $ids = $this->StoreSelectedIDs($event); if ( $ids ) { - $org_message =& $this->Application->recallObject($event->Prefix . '.-item', null, Array ('skip_autoload' => true)); + $org_message = $this->Application->recallObject($event->Prefix . '.-item', null, Array ('skip_autoload' => true)); /* @var $org_message kDBItem */ $org_message->Load(array_shift($ids)); @@ -280,7 +280,7 @@ $object =& $event->getObject(); /* @var $object kDBItem */ - $esender =& $this->Application->recallObject('EmailSender'); + $esender = $this->Application->recallObject('EmailSender'); /* @var $esender kEmailSendingHelper */ $cc = $object->GetDBField('Cc'); @@ -331,7 +331,7 @@ $form_submission =& $this->_getFormSubmission($object); - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($form_submission); @@ -352,7 +352,7 @@ $send_params['to_name'] = $to_name; } - $esender =& $this->Application->recallObject('EmailSender'); + $esender = $this->Application->recallObject('EmailSender'); /* @var $esender kEmailSendingHelper */ $esender->SetReturnPath( $form->GetDBField('BounceEmail') ); @@ -392,7 +392,7 @@ $object->SetDBField('BounceDate_time', NULL); if ($object->GetDBField('DraftId')) { - $temp_handler =& $this->Application->recallObject('draft_TempHandler', 'kTempTablesHandler'); + $temp_handler = $this->Application->recallObject('draft_TempHandler', 'kTempTablesHandler'); /* @var $temp_handler kTempTablesHandler */ $temp_handler->DeleteItems('draft', '', Array ($object->GetDBField('DraftId'))); @@ -428,7 +428,7 @@ if ( $reply_to ) { // this is reply to other message -> mark it as replied - $org_message =& $this->Application->recallObject($event->Prefix . '.-item', null, Array ('skip_autoload' => true)); + $org_message = $this->Application->recallObject($event->Prefix . '.-item', null, Array ('skip_autoload' => true)); /* @var $org_message kDBItem */ $org_message->Load($reply_to); @@ -456,7 +456,7 @@ $form_submission =& $this->_getFormSubmission($object); - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($form_submission); @@ -529,7 +529,7 @@ { $submission_id = $object->GetDBField('FormSubmissionId'); - $form_submission =& $this->Application->recallObject('formsubs.-item', null, Array ('skip_autoload' => true)); + $form_submission = $this->Application->recallObject('formsubs.-item', null, Array ('skip_autoload' => true)); /* @var $form_submission kDBItem */ if ($form_submission->isLoaded() && ($form_submission->GetID() == $submission_id)) { @@ -564,7 +564,7 @@ } // 2. update submission status - $form_submission_helper =& $this->Application->recallObject('FormSubmissionHelper'); + $form_submission_helper = $this->Application->recallObject('FormSubmissionHelper'); /* @var $form_submission_helper FormSubmissionHelper */ $form =& $form_submission_helper->getForm($form_submission); @@ -598,7 +598,7 @@ $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */ - $draft =& $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); + $draft = $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); /* @var $draft kDBItem */ $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) ); @@ -641,7 +641,7 @@ $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */ - $draft =& $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); + $draft = $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); /* @var $draft kDBItem */ $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) ); @@ -678,7 +678,7 @@ $object =& $event->getObject( Array('skip_autoload' => true) ); /* @var $object kDBItem */ - $draft =& $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); + $draft = $this->Application->recallObject('draft', null, Array('skip_autoload' => true)); /* @var $draft kDBItem */ $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) ); @@ -696,7 +696,7 @@ // get existing draft for given submission and user $draft->Load($load_keys); if ($draft->isLoaded()) { - $temp_handler =& $this->Application->recallObject('draft_TempHandler', 'kTempTablesHandler'); + $temp_handler = $this->Application->recallObject('draft_TempHandler', 'kTempTablesHandler'); /* @var $temp_handler kTempTablesHandler */ $temp_handler->DeleteItems('draft', '', Array ($draft->GetID()));