From 5fa0280f154807722dd1362e8782dee0b5d7e352 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 1 Mar 2022 14:08:16 +0100 Subject: [PATCH] fix: [sharingrGroup:delete] Missing params variable --- src/Controller/SharingGroupsController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controller/SharingGroupsController.php b/src/Controller/SharingGroupsController.php index 5a0b4b3..15d41e8 100644 --- a/src/Controller/SharingGroupsController.php +++ b/src/Controller/SharingGroupsController.php @@ -122,6 +122,7 @@ class SharingGroupsController extends AppController public function delete($id) { $currentUser = $this->ACL->getUser(); + $params = []; if (empty($currentUser['role']['perm_admin'])) { $params['conditions'] = ['organisation_id' => $currentUser['organisation_id']]; }