Fix hide url if not defined

This commit is contained in:
Laurent Destailleur 2017-01-29 18:29:37 +01:00
parent 45c99d9d24
commit 92e61e6707

View File

@ -533,7 +533,7 @@ if ($object->fetch($id) >= 0)
print '<td align="center">'; print '<td align="center">';
if (empty($obj->source_id) || empty($obj->source_type)) if (empty($obj->source_id) || empty($obj->source_type))
{ {
print $obj->source_url; // For backward compatibility print empty($obj->source_url)?'':$obj->source_url; // For backward compatibility
} }
else else
{ {