mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 02:43:22 +01:00
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:
parent
b0ef704c4b
commit
b556ebaced
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user