1
0
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:
Bernhard Reiter 2014-08-17 01:01:27 +02:00 committed by Jan ten Bokkel
parent b9c100c605
commit e0eb3ddf5a

View File

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