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 766088155b
commit b62b523d93

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