From 95ea77ec2d018a4adec94cf33f3042f99b226d79 Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 13 Aug 2013 15:46:34 +0530 Subject: [PATCH] notice fixes --- CRM/Activity/Form/Search.php | 2 +- CRM/Case/Form/Search.php | 2 +- CRM/Grant/Form/Search.php | 2 +- CRM/Member/Form/Search.php | 2 +- CRM/Pledge/Form/Search.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Activity/Form/Search.php b/CRM/Activity/Form/Search.php index 4a77b129dc..48d0376585 100644 --- a/CRM/Activity/Form/Search.php +++ b/CRM/Activity/Form/Search.php @@ -343,7 +343,7 @@ class CRM_Activity_Form_Search extends CRM_Core_Form { if ($buttonName == $this->_actionButtonName || $buttonName == $this->_printButtonName) { // check actionName and if next, then do not repeat a search, since we are going to the next page // hack, make sure we reset the task values - $stateMachine = &$this->controller->getStateMachine(); + $stateMachine = $this->controller->getStateMachine(); $formName = $stateMachine->getTaskFormName(); $this->controller->resetPage($formName); return; diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index 143a21ce21..d94a61f7d5 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -372,7 +372,7 @@ class CRM_Case_Form_Search extends CRM_Core_Form { // check actionName and if next, then do not repeat a search, since we are going to the next page // hack, make sure we reset the task values - $stateMachine = &$this->controller->getStateMachine(); + $stateMachine = $this->controller->getStateMachine(); $formName = $stateMachine->getTaskFormName(); $this->controller->resetPage($formName); return; diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 094f5fac1c..2f48cc0737 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -330,7 +330,7 @@ class CRM_Grant_Form_Search extends CRM_Core_Form { // check actionName and if next, then do not repeat a search, since we are going to the next page // hack, make sure we reset the task values - $stateMachine = &$this->controller->getStateMachine(); + $stateMachine = $this->controller->getStateMachine(); $formName = $stateMachine->getTaskFormName(); $this->controller->resetPage($formName); return; diff --git a/CRM/Member/Form/Search.php b/CRM/Member/Form/Search.php index 6559da866d..8128f373ff 100644 --- a/CRM/Member/Form/Search.php +++ b/CRM/Member/Form/Search.php @@ -326,7 +326,7 @@ class CRM_Member_Form_Search extends CRM_Core_Form { // check actionName and if next, then do not repeat a search, since we are going to the next page // hack, make sure we reset the task values - $stateMachine = &$this->controller->getStateMachine(); + $stateMachine = $this->controller->getStateMachine(); $formName = $stateMachine->getTaskFormName(); $this->controller->resetPage($formName); return; diff --git a/CRM/Pledge/Form/Search.php b/CRM/Pledge/Form/Search.php index e002e28942..ac094ce703 100644 --- a/CRM/Pledge/Form/Search.php +++ b/CRM/Pledge/Form/Search.php @@ -336,7 +336,7 @@ class CRM_Pledge_Form_Search extends CRM_Core_Form { // check actionName and if next, then do not repeat a search, since we are going to the next page // hack, make sure we reset the task values - $stateMachine = &$this->controller->getStateMachine(); + $stateMachine = $this->controller->getStateMachine(); $formName = $stateMachine->getTaskFormName(); $this->controller->resetPage($formName); return; -- 2.25.1