fixes warnings in the httpd server error logs
This commit is contained in:
parent
d9cb5686ef
commit
b8fea7d93c
7 changed files with 19 additions and 19 deletions
|
@ -27,10 +27,10 @@ class MySmarty extends Smarty {
|
|||
return $opt;
|
||||
}
|
||||
|
||||
public function display($t) {
|
||||
parent::assign('isadmin', $_SESSION['admin']);
|
||||
public function display($template, $cache_id = "", $compile_id = "") {
|
||||
parent::assign('isadmin', isset($_SESSION['admin']) ? $_SESSION['admin'] : false);
|
||||
parent::assign('opt', $this->opt());
|
||||
parent::display($t);
|
||||
parent::display($template, $cache_id, $compile_id);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue