Merge pull request #310 from Patanock/patch-5

[*] BO: Customer and carrier need to be send to the hook
This commit is contained in:
Vincent Augagneur
2013-04-29 01:31:16 -07:00
+1 -1
View File
@@ -308,7 +308,7 @@ class AdminOrdersControllerCore extends AdminController
$customer->email, $customer->firstname.' '.$customer->lastname, null, null, null, null,
_PS_MAIL_DIR_, true, (int)$order->id_shop))
{
Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order));
Hook::exec('actionAdminOrdersTrackingNumberUpdate', array('order' => $order, 'customer' => $customer, 'carrier' => $carrier));
Tools::redirectAdmin(self::$currentIndex.'&id_order='.$order->id.'&vieworder&conf=4&token='.$this->token);
}
else