From 9dd44f7929b04e027a5f739d2822dd24432bd147 Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 3 May 2022 13:33:51 +0200 Subject: [PATCH] fix not loaded grants / other users categories after last commit --- api/src/Categories.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }