diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 0ea1550dae1..9f21c61b296 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -143,7 +143,7 @@ class Conf if ($value && preg_match('/^MAIN_MODULE_/',$key)) { // If this is constant for a css file activated by a module - if (preg_match('/^MAIN_MODULE_([A-Z_]+)_CSS$/i',$key)) + if (preg_match('/^MAIN_MODULE_([A-Z_]+)_CSS$/i',$key,$reg)) { $modulename = strtolower($reg[1]); $this->css_modules[$modulename]=$value;