// fixed #PSCFV-3900
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17164 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
940fe0857d
commit
9315b2a7ca
1 file changed
+1
-2
+1
-2
@@ -2351,8 +2351,7 @@ class ProductCore extends ObjectModel
|
|||||||
&& Configuration::get('VATNUMBER_MANAGEMENT'))
|
&& Configuration::get('VATNUMBER_MANAGEMENT'))
|
||||||
$usetax = false;
|
$usetax = false;
|
||||||
|
|
||||||
$id_customer = 0;
|
if (is_null($id_customer) && Validate::isLoadedObject($context->customer))
|
||||||
if (Validate::isLoadedObject($context->customer))
|
|
||||||
$id_customer = $context->customer->id;
|
$id_customer = $context->customer->id;
|
||||||
|
|
||||||
return Product::priceCalculation(
|
return Product::priceCalculation(
|
||||||
|
|||||||
Reference in new issue
Block a user