From b18920de4412aec3a86bea66a23535d396045a92 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Jun 2010 23:47:12 +0000 Subject: [PATCH] Fix --- 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 321e7a0e577..4bc0caeca8d 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -157,7 +157,7 @@ class Conf } } // If this is constant for a smarty need by a module - elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_NEEDSMARTY$/i',$key)) + elseif (preg_match('/^MAIN_MODULE_([A-Z_]+)_NEEDSMARTY$/i',$key,$reg)) { $module=strtolower($reg[1]); // Add this module in list of modules that need smarty