From 8113d79392e396052e015d21b1ec040dabadf237 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Thu, 15 Oct 2009 18:00:17 +0000 Subject: [PATCH] backward compatibility php4 --- admin/includes/panels.prototypes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/includes/panels.prototypes.php b/admin/includes/panels.prototypes.php index 101f135..2b389b2 100644 --- a/admin/includes/panels.prototypes.php +++ b/admin/includes/panels.prototypes.php @@ -23,7 +23,7 @@ function AdminPanel(&$smarty) { - $this->smarty = $smarty; + $this->smarty =& $smarty; if (!$this->panelname) trigger_error("Variable \$panelname is not defined!", E_USER_ERROR); @@ -101,7 +101,7 @@ var $langres = ''; function AdminPanelAction(&$smarty) { - $this->smarty = $smarty; + $this->smarty =& $smarty; $the_action_panel = get_class($this); $this->smarty->assign('admin_panel_id', $the_action_panel); if (!$this->langres)