Index: branches/5.2.x/units/gateways/gw_classes/gw_base.php =================================================================== diff -u -N -r14839 -r15141 --- branches/5.2.x/units/gateways/gw_classes/gw_base.php (.../gw_base.php) (revision 14839) +++ branches/5.2.x/units/gateways/gw_classes/gw_base.php (.../gw_base.php) (revision 15141) @@ -1,6 +1,6 @@ Application->recallObject('CurrencyRates'); + $converter = $this->Application->recallObject('CurrencyRates'); /* @var $converter CurrencyRates */ $value = $converter->Convert($value, 'PRIMARY', $iso); @@ -185,7 +185,7 @@ $gw_id = $this->Conn->getInsertID(); // 2. create DISABLED payment type, that uses this gateway (used for storing configuration properties of gateway) - $payment_type =& $this->Application->recallObject('pt.-item', null, Array ('skip_autoload' => true)); + $payment_type = $this->Application->recallObject('pt.-item', null, Array ('skip_autoload' => true)); /* @var $payment_type kDBItem */ $payment_type->Clear();