Fix load lang
This commit is contained in:
parent
f8fe7b5a0e
commit
40645ea24d
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user