From 880967aff371a5dfe6ca56a88843f61810c8f4fa Mon Sep 17 00:00:00 2001 From: uwetews Date: Fri, 11 Mar 2016 01:05:26 +0100 Subject: [PATCH] - optimization of resource processing --- libs/sysplugins/smarty_internal_resource_php.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sysplugins/smarty_internal_resource_php.php b/libs/sysplugins/smarty_internal_resource_php.php index 1991c151..614011dd 100644 --- a/libs/sysplugins/smarty_internal_resource_php.php +++ b/libs/sysplugins/smarty_internal_resource_php.php @@ -101,7 +101,7 @@ class Smarty_Internal_Resource_Php extends Smarty_Internal_Resource_File $compiled->timestamp = $_template->source->timestamp; $compiled->exists = $_template->source->exists; $compiled->file_dependency[ $_template->source->uid ] = - array($compiled->filepath, $this->template->source->getTimeStamp(), - $this->template->source->type,); + array($compiled->filepath, $_template->source->getTimeStamp(), + $_template->source->type,); } }