Merge pull request #10976 from IonAgorria/fix-supplier-prices

Fix dynamic prices bug caused by arg displacement
This commit is contained in:
Laurent Destailleur 2019-04-08 13:53:11 +02:00 committed by GitHub
commit 62f6764e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ class PriceParser
}
//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(