diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index 2bba1bf6..b3597842 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -338,7 +338,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { $this->isCached = false; if (($this->caching == SMARTY_CACHING_LIFETIME_CURRENT || $this->caching == SMARTY_CACHING_LIFETIME_SAVED) && !$this->resource_object->isEvaluated) { if (!isset($this->cache_resource_object)) { - $this->cache_resource_object = $this->smarty->loadCacheResource(); + $this->cache_resource_object = $this->smarty->cache->loadResource(); } $cachedTimestamp = $this->getCachedTimestamp(); if ($cachedTimestamp === false || $this->force_compile || $this->force_cache) { @@ -861,4 +861,4 @@ class Smarty_Internal_Template extends Smarty_Internal_Data { class Smarty_Template extends Smarty_Internal_Template { } -?> \ No newline at end of file +?>