- bugfix failure when the default resource type was set to 'extendsall' https://github.com/smarty-php/smarty/issues/123

This commit is contained in:
uwetews
2015-12-20 05:27:43 +01:00
parent dc9872e0e2
commit e655856871
3 changed files with 5 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ class Smarty_Internal_Runtime_ValidateCompiled
} elseif ($_file_to_check[2] == 'string') {
continue;
} else {
$source = Smarty_Template_Source::load(null, $tpl->smarty, $_file_to_check[0]);
$source = Smarty_Template_Source::load($tpl, $tpl->smarty, $_file_to_check[0]);
$mtime = $source->getTimeStamp();
}
if (!$mtime || $mtime > $_file_to_check[1]) {