From 5522850591083e12d44bcd4c6ee5071638623654 Mon Sep 17 00:00:00 2001 From: "uwe.tews@googlemail.com" Date: Sun, 5 Dec 2010 17:21:02 +0000 Subject: [PATCH] - bugfix missing declaration of $smarty in Smarty class --- change_log.txt | 3 +++ libs/Smarty.class.php | 2 ++ 2 files changed, 5 insertions(+) diff --git a/change_log.txt b/change_log.txt index 8b53e105..8bd1a359 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,4 +1,7 @@ ===== SVN trunk ===== +05/12/2010 +- bugfix missing declaration of $smarty in Smarty class + 01/12/2010 - improvement of {debug} tag output diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 31909663..f9f50679 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -238,6 +238,8 @@ class Smarty extends Smarty_Internal_Data { public $deprecation_notices = true; // Smarty 2 BC public $_version = self::SMARTY_VERSION; + // self pointer to Smarty object + public $smarty; /** * Class constructor, initializes basic smarty properties