Fix trans

This commit is contained in:
Laurent Destailleur 2024-11-04 23:17:22 +01:00
parent 4886f6ce63
commit 1857b22aed
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ class box_actions extends ModeleBoxes
*/
public function loadBox($max = 5)
{
global $user, $langs, $conf;
global $user, $langs;
$this->max = $max;

View File

@ -69,7 +69,7 @@ class box_contacts extends ModeleBoxes
{
global $user, $langs, $conf, $hookmanager;
$langs->load("boxes");
$langs->loadLangs(array("boxes", "contracts"));
$this->max = $max;