From 4d73fe42cabf9983497d754470d0cc87ba724e62 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))