forked from extern/egroupware
swap haystack and needle, as they seem in wrong order for the purpose at hand
This commit is contained in:
parent
550daca48f
commit
d5613a51fe
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user