fix: [internal] Bad variable

pull/7004/head
Jakub Onderka 2021-02-12 10:10:18 +01:00
parent ab1808a1ed
commit 335b916d20
1 changed files with 1 additions and 1 deletions

View File

@ -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);