From 26c465ad0c1d5b6801507ed190430f44ac92c672 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 6 Dec 2015 21:09:58 +0100 Subject: update smarty to 3.1.28-dev which fixes a bug where changes in a template are only visible on the second pageload which is annoying for developing --- library/Smarty/libs/sysplugins/smarty_data.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'library/Smarty/libs/sysplugins/smarty_data.php') diff --git a/library/Smarty/libs/sysplugins/smarty_data.php b/library/Smarty/libs/sysplugins/smarty_data.php index 8074513d8..7cf18a43e 100644 --- a/library/Smarty/libs/sysplugins/smarty_data.php +++ b/library/Smarty/libs/sysplugins/smarty_data.php @@ -30,6 +30,7 @@ class Smarty_Data extends Smarty_Internal_Data * @var string */ public $dataObjectName = ''; + /** * Smarty object * @@ -48,6 +49,7 @@ class Smarty_Data extends Smarty_Internal_Data */ public function __construct($_parent = null, $smarty = null, $name = null) { + parent::__construct(); self::$count ++; $this->dataObjectName = 'Data_object ' . (isset($name) ? "'{$name}'" : self::$count); $this->smarty = $smarty; -- cgit v1.2.3