Update OrderDetailController.php
Fixed link between thread and an order's product
This commit is contained in:
1 parent
9bafc25878
commit
0de8c2dbc6
1 file changed
+1
-1
@@ -73,7 +73,7 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
$ct->id_contact = 0;
|
$ct->id_contact = 0;
|
||||||
$ct->id_customer = (int)$order->id_customer;
|
$ct->id_customer = (int)$order->id_customer;
|
||||||
$ct->id_shop = (int)$this->context->shop->id;
|
$ct->id_shop = (int)$this->context->shop->id;
|
||||||
if ($id_product = (int)Tools::getValue('id_product') && $order->orderContainProduct((int)$id_product))
|
if (($id_product = (int)Tools::getValue('id_product')) && $order->orderContainProduct((int)$id_product))
|
||||||
$ct->id_product = $id_product;
|
$ct->id_product = $id_product;
|
||||||
$ct->id_order = (int)$order->id;
|
$ct->id_order = (int)$order->id;
|
||||||
$ct->id_lang = (int)$this->context->language->id;
|
$ct->id_lang = (int)$this->context->language->id;
|
||||||
|
|||||||
Reference in new issue
Block a user