mirror of https://github.com/MISP/MISP
fix: [internal] Bad variable
parent
ab1808a1ed
commit
335b916d20
|
@ -608,7 +608,7 @@ class SharingGroupsController extends AppController
|
|||
}
|
||||
}
|
||||
}
|
||||
if (false === $addServer) {
|
||||
if (false === $removeServer) {
|
||||
return $this->RestResponse->saveFailResponse('SharingGroup', $this->action, false, 'Server is not in the sharing group.', $this->response->type());
|
||||
}
|
||||
$result = $this->SharingGroup->SharingGroupServer->delete($removeServer);
|
||||
|
|
Loading…
Reference in New Issue