From 85de53b2ebbd9d6a43d6bc05ce4f24c7f827da4d Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 13 Dec 2021 10:07:39 +0100 Subject: [PATCH] Fix calendar category report throws error "Undefined constant active" --- calendar/inc/class.calendar_category_report.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_category_report.inc.php b/calendar/inc/class.calendar_category_report.inc.php index 5998291ed2..fe2dcd6f3b 100644 --- a/calendar/inc/class.calendar_category_report.inc.php +++ b/calendar/inc/class.calendar_category_report.inc.php @@ -257,7 +257,7 @@ class calendar_category_report extends calendar_ui{ { $button = @key($content['button']); $result = $categories = $content_rows = array (); - $users = array_keys($GLOBALS['egw']->accounts->search(array('type'=>'accounts', active=>true))); + $users = array_keys($GLOBALS['egw']->accounts->search(array('type'=>'accounts', 'active'=>true))); // report button pressed if (!empty($button))