From 11f92f9d7c34cc2846f15f6a7678da1cacf69a74 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 28 Aug 2022 14:18:24 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/hrm/establishment/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/hrm/establishment/card.php b/htdocs/hrm/establishment/card.php index 396c158998c..1b30eed663a 100644 --- a/htdocs/hrm/establishment/card.php +++ b/htdocs/hrm/establishment/card.php @@ -371,7 +371,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea // Entity /* - if ($conf->multicompany->enabled) { + if (!isModEnabled('multicompany') { print ''; print ''.$langs->trans("Entity").''; print ''.$object->entity.'';