From e402e2f8932238735590a8fde06642088881b311 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Thu, 6 Aug 2015 19:32:33 +0200 Subject: [PATCH] no need to clone handler --- libs/sysplugins/smarty_template_config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sysplugins/smarty_template_config.php b/libs/sysplugins/smarty_template_config.php index 681a8bac..01f04306 100644 --- a/libs/sysplugins/smarty_template_config.php +++ b/libs/sysplugins/smarty_template_config.php @@ -74,7 +74,7 @@ class Smarty_Template_Config extends Smarty_Template_Source */ public function __construct(Smarty_Resource $handler, Smarty $smarty, $resource, $type, $name) { - $this->handler = clone $handler; // Note: prone to circular references + $this->handler = $handler; // Note: prone to circular references $this->resource = $resource; $this->type = $type; $this->name = $name;