Fix: bad value with constraint
Fix: hide link if no tracking number
This commit is contained in:
parent
ab4d25b243
commit
e2efc8abcc
@ -1109,7 +1109,7 @@ class Expedition extends CommonObject
|
||||
$url = $obj->provider_url_status($this->tracking_number);
|
||||
}
|
||||
|
||||
if ($url!='')
|
||||
if ($url)
|
||||
{
|
||||
$this->tracking_url = sprintf('<a target="_blank" href="%s">'.($value?$value:'url').'</a>',$url,$url);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user