diff --git a/etemplate/inc/class.etemplate_widget_template.inc.php b/etemplate/inc/class.etemplate_widget_template.inc.php index 5fe3ea7133..910af6e6f5 100644 --- a/etemplate/inc/class.etemplate_widget_template.inc.php +++ b/etemplate/inc/class.etemplate_widget_template.inc.php @@ -56,7 +56,7 @@ class etemplate_widget_template extends etemplate_widget return self::$cache[$name]; } // Template not found, try again as if $name were a partial name - else if(!$path && strpos('.',$name) === false) + else if(!$path && strpos($name,'.') === false) { foreach(self::$cache as $c_name => $c_template) {