backward compatibility php4
This commit is contained in:
parent
918cfc99e6
commit
8113d79392
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user