From 4375c524a9baf781392330dd86d2bc7d5f33d8bc Mon Sep 17 00:00:00 2001 From: Dan Cryer Date: Thu, 8 Oct 2015 20:27:40 +0100 Subject: [PATCH] PHPMD Fix --- PHPCI/Controller/GroupController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Controller/GroupController.php b/PHPCI/Controller/GroupController.php index c19b0923..cc4b4c51 100644 --- a/PHPCI/Controller/GroupController.php +++ b/PHPCI/Controller/GroupController.php @@ -58,7 +58,7 @@ class GroupController extends Controller $this->requireAdmin(); if (!is_null($groupId)) { - $group = $this->groupStore->getById($id); + $group = $this->groupStore->getById($groupId); } else { $group = new ProjectGroup(); }