Get Group fix

This commit is contained in:
RundelhausCode 2021-03-11 11:14:06 +01:00
parent bc2befce97
commit 0e343cb46e
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@
require_once "../../../bootstrap.php"; require_once "../../../bootstrap.php";
use Backend\Models\Group; use Backend\Models\Group;
if (isset($_POST["GroupId"])){ if (isset($_POST["groupId"])){
$groups = Group::find($_POST["GroupId"]); $groups = Group::find($_POST["groupId"]);
} }
elseif(isset($_POST["gameJameId"])){ elseif(isset($_POST["gameJameId"])){
$groups = Group::where("game_jam_id",$_POST["gameJameId"]); $groups = Group::where("game_jam_id",$_POST["gameJameId"]);