fix not loaded grants / other users categories after last commit

This commit is contained in:
ralf 2022-05-03 13:33:51 +02:00
parent 3e55347b33
commit 9dd44f7929

View File

@ -547,7 +547,7 @@ class Categories
}
// Load the application grants
if (($category['appname'] ?? null) == $this->app_name && isset($this->grants))
if (($category['appname'] ?? null) == $this->app_name && !isset($this->grants))
{
$this->grants = $GLOBALS['egw']->acl->get_grants($this->app_name,true);
}