- a group not found fails the query

This commit is contained in:
Wiesner András 2024-09-26 13:25:25 +02:00
parent 0c44163bdf
commit eff038a7ea

View File

@ -507,6 +507,8 @@ function get_results_by_gameid(ReqHandler &$rh, array $params): array
// if (count($group_filter) > 0) {
// $group_filter = ["AND", $group_filter];
// }
} else { // a group not found means a faulty query
return [];
}
$game_results = $testMgr->getResultsByGameId($gameid, $filter, $ordering, true, $group_filter);