From e9601e1d6dc944b1b18e0c3619e6892fe73d1c27 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews@googlemail.com" Date: Tue, 13 Aug 2013 23:03:28 +0000 Subject: [PATCH] - bugfix avoid possible E_STRICT error after bugfix for (forum topic 24493) --- libs/sysplugins/smarty_internal_resource_eval.php | 3 ++- libs/sysplugins/smarty_internal_resource_stream.php | 3 ++- libs/sysplugins/smarty_internal_resource_string.php | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libs/sysplugins/smarty_internal_resource_eval.php b/libs/sysplugins/smarty_internal_resource_eval.php index e56eab8a..7b19a913 100644 --- a/libs/sysplugins/smarty_internal_resource_eval.php +++ b/libs/sysplugins/smarty_internal_resource_eval.php @@ -71,9 +71,10 @@ class Smarty_Internal_Resource_Eval extends Smarty_Resource_Recompiled * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique + * @param boolean $is_config flag for config resource * @return string unique resource name */ - protected function buildUniqueResourceName(Smarty $smarty, $resource_name) + protected function buildUniqueResourceName(Smarty $smarty, $resource_name, $is_config = false) { return get_class($this) . '#' .$this->decode($resource_name); } diff --git a/libs/sysplugins/smarty_internal_resource_stream.php b/libs/sysplugins/smarty_internal_resource_stream.php index e7894c3a..f49a9254 100644 --- a/libs/sysplugins/smarty_internal_resource_stream.php +++ b/libs/sysplugins/smarty_internal_resource_stream.php @@ -70,9 +70,10 @@ class Smarty_Internal_Resource_Stream extends Smarty_Resource_Recompiled * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique + * @param boolean $is_config flag for config resource * @return string unique resource name */ - protected function buildUniqueResourceName(Smarty $smarty, $resource_name) + protected function buildUniqueResourceName(Smarty $smarty, $resource_name, $is_config = false) { return get_class($this) . '#' . $resource_name; } diff --git a/libs/sysplugins/smarty_internal_resource_string.php b/libs/sysplugins/smarty_internal_resource_string.php index daaa47c2..c58cd5ef 100644 --- a/libs/sysplugins/smarty_internal_resource_string.php +++ b/libs/sysplugins/smarty_internal_resource_string.php @@ -71,9 +71,10 @@ class Smarty_Internal_Resource_String extends Smarty_Resource * * @param Smarty $smarty Smarty instance * @param string $resource_name resource_name to make unique + * @param boolean $is_config flag for config resource * @return string unique resource name */ - protected function buildUniqueResourceName(Smarty $smarty, $resource_name) + protected function buildUniqueResourceName(Smarty $smarty, $resource_name, $is_config = false) { return get_class($this) . '#' .$this->decode($resource_name); }