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