diff options
| author | Uwe.Tews@googlemail.com <Uwe.Tews@googlemail.com> | 2014-01-11 12:21:12 +0000 |
|---|---|---|
| committer | Uwe.Tews@googlemail.com <Uwe.Tews@googlemail.com> | 2014-01-11 12:21:12 +0000 |
| commit | 1dfbe19ebf7bf72bdbd661f7fe926e7ecb226dc8 (patch) | |
| tree | fedb2676eb62a18cd003fcdf379422ac9ad8d8cc | |
| parent | 18ff092501125841a3eb2aa0c4a19bf24dab9acf (diff) | |
| download | smarty-1dfbe19ebf7bf72bdbd661f7fe926e7ecb226dc8.tar.gz smarty-1dfbe19ebf7bf72bdbd661f7fe926e7ecb226dc8.tar.bz2 smarty-1dfbe19ebf7bf72bdbd661f7fe926e7ecb226dc8.zip | |
- internals content cache should be clear when updating cache file
| -rw-r--r-- | change_log.txt | 1 | ||||
| -rw-r--r-- | libs/sysplugins/smarty_cacheresource.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/change_log.txt b/change_log.txt index 3abb9505..af6db318 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,6 +1,7 @@ ===== trunk ===== 11.01.2014 - bugfix "* }" (spaces before right delimiter) was interpreted by mistake as comment end tag (Issue 170) + - internals content cache should be clear when updating cache file 08.01.2014 - bugfix Smarty_CacheResource_Custom did not handle template resource type specifications on clearCache() calls (Issue 169) diff --git a/libs/sysplugins/smarty_cacheresource.php b/libs/sysplugins/smarty_cacheresource.php index efdc1abe..22262bae 100644 --- a/libs/sysplugins/smarty_cacheresource.php +++ b/libs/sysplugins/smarty_cacheresource.php @@ -372,6 +372,7 @@ class Smarty_Template_Cached { if (!$_template->source->recompiled) { if ($this->handler->writeCachedContent($_template, $content)) { + $this->content = null; $this->timestamp = time(); $this->exists = true; $this->valid = true; |
