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 9ff7e3a22f
commit 85de53b2eb

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