Get Group fix
This commit is contained in:
parent
bc2befce97
commit
0e343cb46e
|
@ -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"]);
|
||||||
|
|
Loading…
Reference in New Issue