FIX Extrafields of type price must be '' and not '0' if not defined
This commit is contained in:
parent
91523b4b64
commit
a8740352af
@ -1681,7 +1681,8 @@ class ExtraFields
|
||||
}
|
||||
elseif ($type == 'price')
|
||||
{
|
||||
$value = price($value, 0, $langs, 0, 0, -1, $conf->currency);
|
||||
//$value = price($value, 0, $langs, 0, 0, -1, $conf->currency);
|
||||
if ($value || $value == '0') $value = price($value, 0, $langs, 0, 0, -1);
|
||||
}
|
||||
elseif ($type == 'select')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user