From 2d0537e8233cf02f86da4f06b80f8668e44a9121 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Sun, 28 Aug 2022 14:07:47 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/cron/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cron/card.php b/htdocs/cron/card.php index ed95546cd67..319c16c7d0c 100644 --- a/htdocs/cron/card.php +++ b/htdocs/cron/card.php @@ -612,7 +612,7 @@ if (($action == "create") || ($action == "edit")) { } print ""; - if (!empty($conf->multicompany->enabled)) { + if (isModEnabled('multicompany')) { print ''; print $langs->trans('Entity').""; if (empty($object->entity)) {