diff --git a/htdocs/core/boxes/box_actions.php b/htdocs/core/boxes/box_actions.php index d1f8411f3ac..14b13b9e68b 100644 --- a/htdocs/core/boxes/box_actions.php +++ b/htdocs/core/boxes/box_actions.php @@ -68,7 +68,7 @@ class box_actions extends ModeleBoxes */ public function loadBox($max = 5) { - global $user, $langs, $conf; + global $user, $langs; $this->max = $max; diff --git a/htdocs/core/boxes/box_contacts.php b/htdocs/core/boxes/box_contacts.php index 4f16fd59974..6db28aca4f9 100644 --- a/htdocs/core/boxes/box_contacts.php +++ b/htdocs/core/boxes/box_contacts.php @@ -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;