[-] Core: Hook actionPaymentConfirmation should also be called for PS_OS_WS_PAYMENT order statuse

This commit is contained in:
Rémi Gaillard
2013-06-04 12:08:31 +02:00
parent 22352d1443
commit 4c5b060e92
+1 -1
View File
@@ -93,7 +93,7 @@ class OrderHistoryCore extends ObjectModel
// executes hook
if ($new_os->id == Configuration::get('PS_OS_PAYMENT'))
if (in_array($new_os->id, array(Configuration::get('PS_OS_PAYMENT'), Configuration::get('PS_OS_WS_PAYMENT'))))
Hook::exec('actionPaymentConfirmation', array('id_order' => (int)$order->id));
// executes hook