diff --git a/lib/controller/groupcontroller.php b/lib/controller/groupcontroller.php index 98212e74..f9314e9c 100644 --- a/lib/controller/groupcontroller.php +++ b/lib/controller/groupcontroller.php @@ -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)); }