Fixing style errors.
This commit is contained in:
parent
a1f6886e97
commit
ee701bb480
@ -1666,7 +1666,7 @@ class ExtraFields
|
||||
$value = price($value, 0, $langs, 0, 0, -1);
|
||||
}
|
||||
} elseif ($type == 'select') {
|
||||
$valstr = (!empty($param['options'][$value]) ? $param['options'][$value] : '');
|
||||
$valstr = (!empty($param['options'][$value]) ? $param['options'][$value] : '');
|
||||
if (($pos = strpos($valstr, "|")) !== false) {
|
||||
$valstr = substr($valstr, 0, $pos);
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ if (!empty($extrafieldsobjectkey)) { // $extrafieldsobject is the $object->table
|
||||
}
|
||||
$value = $datenotinstring;
|
||||
} else {
|
||||
$value = (!empty($obj->$tmpkey) ? $obj->$tmpkey : '');
|
||||
$value = (!empty($obj->$tmpkey) ? $obj->$tmpkey : '');
|
||||
}
|
||||
// If field is a computed field, we make computation to get value
|
||||
if ($extrafields->attributes[$extrafieldsobjectkey]['computed'][$key]) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user