// fixed #PSCFV-3900

This commit is contained in:
dMetzger committed 2012-09-04 12:51:57 +00:00
1 parent 0814961fb0
commit 5cbf9a6e0d
1 file changed
+1 -2
+1 -2
View File
@@ -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(