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".
This commit is contained in:
Sardach 2020-10-30 19:56:49 -06:00 committed by discomrade
parent e39f342008
commit 15a099deb3

View File

@ -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);
}
}