From 9548e753797c3b7a6302f6f34da8771e4cbee92e Mon Sep 17 00:00:00 2001 From: Nicolas Domenech Date: Fri, 24 May 2024 09:51:17 +0200 Subject: [PATCH] #576 [Hook] fix: global $langs needed for document_action tpl --- class/actions_dolimeet.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/actions_dolimeet.class.php b/class/actions_dolimeet.class.php index ec6a0bf..f248163 100644 --- a/class/actions_dolimeet.class.php +++ b/class/actions_dolimeet.class.php @@ -536,7 +536,7 @@ public function addMoreActionsButtons(array $parameters, $object): int */ public function doActions(array $parameters, $object, string $action): int { - global $conf, $user; + global $conf, $langs, $user; // Do something only for the current context. if ($parameters['currentcontext'] == 'admincompany') {