Fix calendar category report throws error "Undefined constant active"

This commit is contained in:
Hadi Nategh 2021-12-13 10:07:39 +01:00
parent 1c65b55f63
commit 4d73fe42ca

View File

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