From 0e343cb46e0d219891355252776bb6dff597ff69 Mon Sep 17 00:00:00 2001 From: RundelhausCode Date: Thu, 11 Mar 2021 11:14:06 +0100 Subject: [PATCH] Get Group fix --- Backend/Controllers/Group/GetGroup.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Backend/Controllers/Group/GetGroup.php b/Backend/Controllers/Group/GetGroup.php index f7d2fc7..be2e0bf 100644 --- a/Backend/Controllers/Group/GetGroup.php +++ b/Backend/Controllers/Group/GetGroup.php @@ -2,8 +2,8 @@ require_once "../../../bootstrap.php"; use Backend\Models\Group; -if (isset($_POST["GroupId"])){ -$groups = Group::find($_POST["GroupId"]); +if (isset($_POST["groupId"])){ +$groups = Group::find($_POST["groupId"]); } elseif(isset($_POST["gameJameId"])){ $groups = Group::where("game_jam_id",$_POST["gameJameId"]);