aboutsummaryrefslogtreecommitdiffstats
path: root/library/Smarty/libs/sysplugins/smarty_data.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_data.php')
-rw-r--r--library/Smarty/libs/sysplugins/smarty_data.php2
1 files changed, 2 insertions, 0 deletions
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;