Index: branches/5.2.x/units/affiliate_payment_types/affiliate_payment_types_tp.php =================================================================== diff -u -N -r14594 -r15141 --- branches/5.2.x/units/affiliate_payment_types/affiliate_payment_types_tp.php (.../affiliate_payment_types_tp.php) (revision 14594) +++ branches/5.2.x/units/affiliate_payment_types/affiliate_payment_types_tp.php (.../affiliate_payment_types_tp.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject( $params['prefix'] ); + $affiliate = $this->Application->recallObject( $params['prefix'] ); /* @var $affiliate kDBItem */ $payment_type = $affiliate->GetDBField( $params['field'] );