- bugfix wrong resource could be used on compile check of custom resource

This commit is contained in:
uwe.tews@googlemail.com
2011-09-27 21:48:33 +00:00
parent ae85a298d8
commit d9ba05407a
2 changed files with 2 additions and 1 deletions

View File

@@ -427,7 +427,7 @@ class Smarty_Internal_Template extends Smarty_Internal_TemplateBase {
} elseif ($_file_to_check[2] == 'string') {
continue;
} else {
$source = Smarty_Resource::source($this, $this->smarty, $_file_to_check[0]);
$source = Smarty_Resource::source(null, $this->smarty, $_file_to_check[0]);
$mtime = $source->timestamp;
}
if ($mtime > $_file_to_check[1]) {