fix: [sharingrGroup:delete] Missing params variable
parent
f8c8bbcb0b
commit
5fa0280f15
|
@ -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']];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue