From 117aed6a10587ee4132e0105f171feb078d1ecab Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 23 Aug 2022 10:14:07 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/admin/website.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/admin/website.php b/htdocs/admin/website.php index 5f51bccb240..80e806b6595 100644 --- a/htdocs/admin/website.php +++ b/htdocs/admin/website.php @@ -109,7 +109,7 @@ $tabrowid[1] = ""; // Condition to show dictionary in setup page $tabcond = array(); -$tabcond[1] = (!empty($conf->website->enabled)); +$tabcond[1] = (isModEnabled('website')); // List of help for fields $tabhelp = array();