From 32cb9db6b7f4e4d7bc87a4de6e8ae513c5693ea9 Mon Sep 17 00:00:00 2001 From: Sardach Date: Fri, 30 Oct 2020 19:56:49 -0600 Subject: [PATCH] insignificant fix PHP7 shows a warning when executing tools/rebuild2.php: "Declaration of case-insensitive constants is deprecated" $group_name and $group_value really not need be case-insensitive, so i simply removed that "true". --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 5f101db2..53fb9600 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -345,7 +345,7 @@ function define_groups() { foreach ($config['mod']['groups'] as $group_value => $group_name) { $group_name = strtoupper($group_name); if(!defined($group_name)) { - define($group_name, $group_value, true); + define($group_name, $group_value); } }