From e0eb3ddf5aa2e61afc24fa2edb1ca8fb42213706 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Sun, 17 Aug 2014 01:01:27 +0200 Subject: [PATCH] Fix typos in variable names that broke stuff. --- lib/controller/groupcontroller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); }