Oops, only modify group name in overboard when there is a group name.

This commit is contained in:
Retro_Guy 2023-08-18 05:12:17 -07:00
parent ffb8d988f4
commit 2810345e14
1 changed files with 1 additions and 2 deletions

View File

@ -97,9 +97,8 @@ if (isset($_GET['time'])) {
}
}
$_GET['thisgroup'] = _rawurldecode($_GET['thisgroup']);
if (isset($_GET['thisgroup'])) {
$_GET['thisgroup'] = _rawurldecode($_GET['thisgroup']);
if(get_section_by_group($_GET['thisgroup']) == false) {
echo "Group not found";
exit(1);