diff --git a/www/games/results.php b/www/games/results.php index 23cb15c..c456b00 100644 --- a/www/games/results.php +++ b/www/games/results.php @@ -5,8 +5,9 @@ $stmt = $db["data"]->prepare("SELECT name FROM games WHERE id = :id"); $stmt->execute([ "id" => $_GET["game"], ]); +$game_name = $stmt->fetch(PDO::FETCH_COLUMN); -$title = "Results: " . $stmt->fetch(PDO::FETCH_COLUMN); +$title = "Results: $game_name"; $description = "View the results of particular issue's voting."; // use new weights for Winter 2024 and later @@ -144,9 +145,7 @@ include "partials/head.php";
| Title | 
|---|