Added namespace backslash

This commit is contained in:
Rich Morgan 2015-01-08 17:02:16 -05:00
parent 789b24b7b2
commit 9a96cd9e7a
1 changed files with 2 additions and 2 deletions

View File

@ -18,14 +18,14 @@ class Bitpay_Core_Block_Info extends Mage_Payment_Block_Info
if (false === isset($order) || true === empty($order)) {
\Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.');
throw new Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.');
throw new \Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the order.');
}
$incrementId = $order->getIncrementId();
if (false === isset($incrementId) || true === empty($incrementId)) {
\Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.');
throw new Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.');
throw new \Exception('In Bitpay_Core_Block_Info::getBitpayInvoiceUrl(): could not obtain the incrementId.');
}
$bitpayInvoice = \Mage::getModel('bitpay/invoice')->load($incrementId, 'increment_id');