Fix: [ bug #1428 ] "Nothing" is shown in the middle of the screen in a

supplier order.
This commit is contained in:
Laurent Destailleur 2014-06-20 13:49:59 +02:00
parent fcb00b2024
commit a2065d0b6a
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ English Dolibarr ChangeLog
-------------------------------------------------------------- --------------------------------------------------------------
***** ChangeLog for 3.5.4 compared to 3.5.3 ***** ***** ChangeLog for 3.5.4 compared to 3.5.3 *****
Fix: [ bug #1428 ] "Nothing" is shown in the middle of the screen in a supplier order.
Fix: The object deliverycompany was not used anymore and output of Fix: The object deliverycompany was not used anymore and output of
details for delivery reports was lost during 3.5. Rewrite code to details for delivery reports was lost during 3.5. Rewrite code to
restore feature. restore feature.

View File

@ -615,7 +615,7 @@ class FormFile
} }
} }
if (count($file_list) == 0) if (count($file_list) == 0 && $headershown)
{ {
$out.='<tr><td colspan="3">'.$langs->trans("None").'</td></tr>'; $out.='<tr><td colspan="3">'.$langs->trans("None").'</td></tr>';
} }