Index: branches/5.2.x/core/units/priorites/priority_eh.php =================================================================== diff -u -N -r15137 -r15145 --- branches/5.2.x/core/units/priorites/priority_eh.php (.../priority_eh.php) (revision 15137) +++ branches/5.2.x/core/units/priorites/priority_eh.php (.../priority_eh.php) (revision 15145) @@ -1,6 +1,6 @@ MasterEvent->getObject(); + $object = $event->MasterEvent->getObject(); $tmp = $this->Application->RecallVar('priority_changes'.$this->Application->GetVar('m_wid')); $changes = $tmp ? unserialize($tmp) : array(); @@ -279,7 +279,7 @@ function OnItemCreate($event) { - $obj =& $event->MasterEvent->getObject(); + $obj = $event->MasterEvent->getObject(); if ($obj->GetDBField('Priority') == 0) { $priority_helper = $this->Application->recallObject('PriorityHelper'); /* @var $priority_helper kPriorityHelper */