Fix load lang

This commit is contained in:
Laurent Destailleur 2021-01-05 10:39:53 +01:00
parent f8fe7b5a0e
commit 40645ea24d

View File

@ -137,10 +137,13 @@ class box_fournisseurs extends ModeleBoxes
$line++; $line++;
} }
if ($num == 0) $this->info_box_contents[$line][0] = array( if ($num == 0) {
'td' => 'class="center opacitymedium"', $langs->load("suppliers");
'text'=>$langs->trans("NoRecordedSuppliers"), $this->info_box_contents[$line][0] = array(
); 'td' => 'class="center opacitymedium"',
'text'=>$langs->trans("NoRecordedSuppliers"),
);
}
$this->db->free($result); $this->db->free($result);
} else { } else {