[-] BO : Fix #PSCFV-10501 Remove fatal error
This commit is contained in:
1 parent
95a2b2a8a8
commit
7486844222
2 files changed
+4
-3
No files matched your search
@@ -188,8 +188,9 @@ class CurrencyCore extends ObjectModel
|
|||||||
4 => array('left' => '', 'right' => &$formated_strings['right']),
|
4 => array('left' => '', 'right' => &$formated_strings['right']),
|
||||||
5 => array('left' => '', 'right' => &$formated_strings['right'])
|
5 => array('left' => '', 'right' => &$formated_strings['right'])
|
||||||
);
|
);
|
||||||
|
if (isset($formats[$this->format][$side]))
|
||||||
return ($formats[$this->format][$side]);
|
return ($formats[$this->format][$side]);
|
||||||
|
return $this->sign;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+1
-1
@@ -2509,7 +2509,7 @@ class ProductCore extends ObjectModel
|
|||||||
$id_state = 0;
|
$id_state = 0;
|
||||||
$zipcode = 0;
|
$zipcode = 0;
|
||||||
|
|
||||||
if (!$id_address)
|
if (!$id_address && Validate::isLoadedObject($cur_cart))
|
||||||
$id_address = $cur_cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')};
|
$id_address = $cur_cart->{Configuration::get('PS_TAX_ADDRESS_TYPE')};
|
||||||
|
|
||||||
if ($id_address)
|
if ($id_address)
|
||||||
|
|||||||
Reference in new issue
Block a user