Index: branches/5.2.x/units/affiliate_payments/affiliate_payments_event_handler.php =================================================================== diff -u -N -r15134 -r15141 --- branches/5.2.x/units/affiliate_payments/affiliate_payments_event_handler.php (.../affiliate_payments_event_handler.php) (revision 15134) +++ branches/5.2.x/units/affiliate_payments/affiliate_payments_event_handler.php (.../affiliate_payments_event_handler.php) (revision 15141) @@ -1,6 +1,6 @@ getLinkedInfo(); - $parent_object =& $this->Application->recallObject($parent_info['ParentPrefix']); + $parent_object = $this->Application->recallObject($parent_info['ParentPrefix']); /* @var $parent_object kDBItem */ $options = $object->GetFieldOptions('PaymentTypeId'); @@ -61,7 +61,7 @@ { parent::OnNew($event); - $affiliate =& $this->Application->recallObject('affil'); + $affiliate = $this->Application->recallObject('affil'); /* @var $affiliate kDBItem */ $object =& $event->getObject(Array ('skip_autoload' => true)); @@ -92,7 +92,7 @@ WHERE ' . $parent_info['ParentTableKey'] . ' = ' . $parent_info['ParentId']; $payment_date = $this->Conn->GetOne($sql); - $affiliate =& $this->Application->recallObject('affil'); + $affiliate = $this->Application->recallObject('affil'); /* @var $affiliate kDBItem */ $affiliate->SetDBField('AmountToPay', $affiliate->GetDBField('AmountToPay') - $object->GetDBField('Amount'));