From 21ffd56795a0688eaafe0d9d86e46339de12f7b6 Mon Sep 17 00:00:00 2001 From: FHenry Date: Thu, 23 Feb 2012 11:27:13 +0100 Subject: [PATCH] Correct Bug of CSS in conf --- htdocs/core/class/conf.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;