FIX Extrafields of type price must be '' and not '0' if not defined
This commit is contained in:
parent
7a73915e92
commit
2b00ae9e92
@ -1671,7 +1671,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