// stock : debug + interfaces optimizations + stockManager update
This commit is contained in:
@@ -378,6 +378,8 @@ class ToolsCore
|
||||
*/
|
||||
public static function displayPrice($price, $currency = NULL, $no_utf8 = false, Context $context = null)
|
||||
{
|
||||
if (!is_numeric($price))
|
||||
return $price;
|
||||
if (!$context)
|
||||
$context = Context::getContext();
|
||||
if ($currency === NULL)
|
||||
|
||||
Reference in New Issue
Block a user