diff --git a/routes/web.php b/routes/web.php index 54338a13f..a6cf4eaf4 100755 --- a/routes/web.php +++ b/routes/web.php @@ -134,7 +134,7 @@ Route::get('/testDetails.php', function (Request $request) { $buildid = $request->query('build'); $testid = $request->query('test'); - $buildtest = \App\Models\Test::where('buildid', $buildid)->where('testid', $testid)->first(); + $buildtest = \App\Models\Test::where('buildid', $buildid)->where('id', $testid)->first(); if ($buildtest !== null) { return redirect("/tests/{$buildtest->id}", 301); }