diff --git a/api/src/Categories.php b/api/src/Categories.php index 7be694e1fc..47ae5a7838 100644 --- a/api/src/Categories.php +++ b/api/src/Categories.php @@ -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); }