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 = '')

This commit is contained in:
nathan 2021-11-16 16:07:00 -07:00
parent be7fbf35fa
commit 2287ca15c2

View File

@ -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);
}
}