forked from leftypol/leftypol
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:
parent
e39f342008
commit
15a099deb3
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user