Skip to content

Commit

Permalink
forgot 1 redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
svenbledt committed Feb 2, 2023
1 parent 8e5834b commit 332a631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions inc/templates/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
$result = "All questions answered, show results here";
unset($_SESSION['current_question']);
unset($_SESSION['topic']);
header("Location: index.php?page=index");
}
header("Location: index.php?page=index");
}
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
error_reporting(E_ALL);
error_reporting(E_ALL);
session_start();
header('Content-Type: text/html; charset=UTF-8');

Expand Down

0 comments on commit 332a631

Please sign in to comment.