- bugfix force default debug.tpl to be loaded by the file resource when default_resource_type was modified

This commit is contained in:
uwe.tews@googlemail.com
2011-02-19 00:20:45 +00:00
parent 5b8a7e2ad9
commit dea3e1f83e
3 changed files with 3 additions and 2 deletions
@@ -307,7 +307,7 @@ class Smarty_Internal_TemplateCompilerBase {
} else {
if (isset($this->template->required_plugins['compiled'][$plugin_name][$type])) {
$function = $this->template->required_plugins['compiled'][$plugin_name][$type]['function'];
} else if (isset($this->template->required_plugins['compiled'][$plugin_name][$type])) {
} else if (isset($this->template->required_plugins['nocache'][$plugin_name][$type])) {
$this->template->required_plugins['compiled'][$plugin_name][$type] = $this->template->required_plugins['nocache'][$plugin_name][$type];
$function = $this->template->required_plugins['compiled'][$plugin_name][$type]['function'];
}