mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix label
This commit is contained in:
@@ -3893,6 +3893,7 @@ abstract class CommonObject
|
||||
{
|
||||
// phpcs:enable
|
||||
$out = '';
|
||||
|
||||
$this->label_incoterms = '';
|
||||
if (!empty($this->fk_incoterms))
|
||||
{
|
||||
@@ -3905,7 +3906,7 @@ abstract class CommonObject
|
||||
}
|
||||
}
|
||||
|
||||
$out .= (($res->code && $this->location_incoterms) ? ' - ' : '').$this->location_incoterms;
|
||||
$out .= (($out && $this->location_incoterms) ? ' - ' : '').$this->location_incoterms;
|
||||
|
||||
return $out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user