From 199de38a832b07e490db1fa4cd0e76377b77120f Mon Sep 17 00:00:00 2001 From: Ryan Walberg Date: Sat, 25 Feb 2023 20:00:51 -0500 Subject: [PATCH] fix Smarty override class to match superclass signature --- src/includes/MySmarty.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/MySmarty.class.php b/src/includes/MySmarty.class.php index 669c21a..79fa6e5 100644 --- a/src/includes/MySmarty.class.php +++ b/src/includes/MySmarty.class.php @@ -27,7 +27,7 @@ class MySmarty extends Smarty { return $opt; } - public function display($template, $cache_id = "", $compile_id = "") { + public function display($template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL) { parent::assign('isadmin', isset($_SESSION['admin']) ? $_SESSION['admin'] : false); parent::assign('opt', $this->opt()); parent::display($template, $cache_id, $compile_id);