mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix trans
This commit is contained in:
parent
4886f6ce63
commit
1857b22aed
|
|
@ -68,7 +68,7 @@ class box_actions extends ModeleBoxes
|
|||
*/
|
||||
public function loadBox($max = 5)
|
||||
{
|
||||
global $user, $langs, $conf;
|
||||
global $user, $langs;
|
||||
|
||||
$this->max = $max;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user