From 19151def82e9c2033429e0439f2f86087452204d 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 23ade9fa..57f02ff3 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -401,7 +401,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); } }