Skip to content

Commit

Permalink
Merge pull request Evarisk#578 from nicolas-eoxia/fix_ODT_contract_ge…
Browse files Browse the repository at this point in the history
…neration

Evarisk#576 [Hook] fix: global $langs needed for document_action tpl
  • Loading branch information
evarisk-micka authored May 24, 2024
2 parents 204780d + 9548e75 commit d5451c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/actions_dolimeet.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit d5451c8

Please sign in to comment.