Fixed PHP 7.3 case-sensitive constants issue in inc/functions.php

This commit is contained in:
Daniel Saunders 2019-03-10 13:48:48 -04:00
parent 3f581371b8
commit 38c4975e97

View File

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