Index: branches/5.2.x/core/units/priorites/priority_eh.php =================================================================== diff -u -N -r15130 -r15137 --- branches/5.2.x/core/units/priorites/priority_eh.php (.../priority_eh.php) (revision 15130) +++ branches/5.2.x/core/units/priorites/priority_eh.php (.../priority_eh.php) (revision 15137) @@ -1,6 +1,6 @@ Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ list ($constrain, $joins) = $this->getConstrainInfo($event); @@ -241,7 +241,7 @@ $del = $this->Application->RecallVar('priority_deleted'.$this->Application->GetVar('m_wid')); $del = $del ? unserialize($del) : array(); - $priority_helper =& $this->Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ foreach ($del as $del_info) { @@ -266,7 +266,7 @@ $tmp = $this->Application->RecallVar('priority_changes'.$this->Application->GetVar('m_wid')); $changes = $tmp ? unserialize($tmp) : array(); - $priority_helper =& $this->Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ list ($constrain, $joins) = $this->getConstrainInfo($event); @@ -281,7 +281,7 @@ { $obj =& $event->MasterEvent->getObject(); if ($obj->GetDBField('Priority') == 0) { - $priority_helper =& $this->Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ list ($constrain, $joins) = $this->getConstrainInfo($event); @@ -314,7 +314,7 @@ WHERE '.$id_field.' IN ('.implode(',', $ids).') ORDER BY Priority DESC'; $priorities = $this->Conn->GetCol($sql, $id_field); - $priority_helper =& $this->Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ list ($constrain, $joins) = $this->getConstrainInfo($event); @@ -366,7 +366,7 @@ */ function OnRecalculatePriorities($event) { - $priority_helper =& $this->Application->recallObject('PriorityHelper'); + $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */ $prefix = $this->Application->GetVar('priority_prefix');