mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 10:54:27 +02:00
- bugfix wrong resource could be used on compile check of custom resource
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
- bugfix remove race condition when a custom resource did change timestamp during compilation
|
||||
- bugfix variable property did not work on objects variable in template
|
||||
- bugfix smarty_make_timestamp() failed to process DateTime objects properly
|
||||
- bugfix wrong resource could be used on compile check of custom resource
|
||||
|
||||
26.09.2011
|
||||
- bugfix repeated calls to same subtemplate did not make use of cached template object
|
||||
|
@@ -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]) {
|
||||
|
Reference in New Issue
Block a user