Use class name instead of object to reference constant (compile error fix on some versions of php)
This commit is contained in:
parent
2aa4e8c33d
commit
4a826731cd
|
@ -34,7 +34,7 @@ class Bitpay_Bitcoins_IndexController extends Mage_Core_Controller_Front_Action
|
||||||
foreach($order->getInvoiceCollection() as $i)
|
foreach($order->getInvoiceCollection() as $i)
|
||||||
$i->pay()
|
$i->pay()
|
||||||
->save();
|
->save();
|
||||||
$order->setState($order::STATE_PROCESSING, true)
|
$order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true)
|
||||||
->save();
|
->save();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue