Index: branches/5.2.x/core/units/helpers/priority_helper.php =================================================================== diff -u -N -r14610 -r15130 --- branches/5.2.x/core/units/helpers/priority_helper.php (.../priority_helper.php) (revision 14610) +++ branches/5.2.x/core/units/helpers/priority_helper.php (.../priority_helper.php) (revision 15130) @@ -1,6 +1,6 @@ getObject(); /* @var $object kDBItem */ @@ -82,7 +82,7 @@ * @param string $joins * @return Array */ - function updatePriorities(&$event, $changes, $new_ids, $constrain = '', $joins = '') + function updatePriorities($event, $changes, $new_ids, $constrain = '', $joins = '') { // TODO: no need pass external $constrain, since the one from $pair is used @@ -178,7 +178,7 @@ * @param string $joins * @return Array */ - function recalculatePriorities(&$event, $constrain = '', $joins = '') + function recalculatePriorities($event, $constrain = '', $joins = '') { $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField'); $table_name = $this->Application->getUnitOption($event->Prefix, 'TableName');