Skip to content

Commit

Permalink
Fix dynamic prices bug caused by arg displacement
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Apr 7, 2019
1 parent 5619409 commit 06d3b57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/product/dynamic_price/class/price_parser.class.php
Expand Up @@ -300,7 +300,7 @@ public function parseProductSupplier($product_supplier, $extra_values = array())
}

//Get the product data (use ignore_expression to avoid possible recursion)
$product_supplier->fetch($product_supplier->id, '', '', 1);
$product_supplier->fetch($product_supplier->id, '', '', '', 1);

//Accessible values by expressions
$extra_values = array_merge($extra_values, array(
Expand Down

0 comments on commit 06d3b57

Please sign in to comment.