From 2287ca15c241684ec22ba1e81908c03bc40aab98 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 16 Nov 2021 16:07:00 -0700 Subject: [PATCH] Fix PHP 8.0 Fatal error: Declaration of preferences_categories_ui::index(?array $content = null) must be compatible with admin_categories::index(?array $content = null, $msg = '') --- preferences/inc/class.preferences_categories_ui.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preferences/inc/class.preferences_categories_ui.inc.php b/preferences/inc/class.preferences_categories_ui.inc.php index 991fff5f48..c16f90e284 100644 --- a/preferences/inc/class.preferences_categories_ui.inc.php +++ b/preferences/inc/class.preferences_categories_ui.inc.php @@ -47,10 +47,10 @@ class preferences_categories_ui extends admin_categories { * * @param array $content */ - public function index(array $content=null) + public function index(array $content = null, $msg = '') { $GLOBALS['egw_info']['flags']['currentapp'] = $_GET['cats_app']; - parent::index($content); + parent::index($content, $msg); } }