Commit f9ba83d3 authored by matthieu-rolland's avatar matthieu-rolland
Browse files

fix wrong parameter type

parent 016e0d6a
......@@ -631,7 +631,7 @@ class OrderAmountUpdater
{
$constraintKey = $order->id_shop . '-' . $order->id_shop_group;
if (!isset($this->orderConstraints[$constraintKey])) {
$this->orderConstraints[$constraintKey] = ShopConstraint::shop($order->id_shop);
$this->orderConstraints[$constraintKey] = ShopConstraint::shop((int) $order->id_shop);
}
return $this->orderConstraints[$constraintKey];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment