mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-10 21:24:33 +01:00
Fix typos in variable names that broke stuff.
This commit is contained in:
parent
b9c100c605
commit
e0eb3ddf5a
@ -258,7 +258,7 @@ class GroupController extends Controller {
|
||||
$response = new JSONResponse();
|
||||
$params = $this->request->urlParams;
|
||||
$categoryId = $params['categoryId'];
|
||||
$categoryname = $this->request->post['name'];
|
||||
$categoryName = $this->request->post['name'];
|
||||
$ids = $this->request->post['contactIds'];
|
||||
//$response->debug('request: '.print_r($this->request->post, true));
|
||||
|
||||
@ -305,7 +305,7 @@ class GroupController extends Controller {
|
||||
return $response;
|
||||
}
|
||||
|
||||
if ($obj->removeFromGroup($categoryname)) {
|
||||
if ($obj->removeFromGroup($categoryName)) {
|
||||
$backend->updateContact(null, $contactId, $obj, array('noCollection' => true));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user