From 1742a8bebd40aa9374a3caba94215b7de6a3f56b Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 16 Aug 2022 17:16:02 +0200 Subject: [PATCH] FIX php8 compatibility --- htdocs/accountancy/customer/lines.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/accountancy/customer/lines.php b/htdocs/accountancy/customer/lines.php index 4a8080ab8b4..469f29ad3c7 100644 --- a/htdocs/accountancy/customer/lines.php +++ b/htdocs/accountancy/customer/lines.php @@ -85,7 +85,7 @@ if (!$sortorder) { } // Security check -if (empty($conf->accounting->enabled)) { +if (!isModEnabled('accounting')) { accessforbidden(); } if ($user->socid > 0) {