From 831008aa33ddcb5079f2e50d9dde5e1d895477d0 Mon Sep 17 00:00:00 2001 From: overflowerror Date: Thu, 8 Aug 2024 22:35:06 +0200 Subject: [PATCH] fix: Undefined function --- html/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/html/index.php b/html/index.php index a3c46d8..66097db 100644 --- a/html/index.php +++ b/html/index.php @@ -32,12 +32,10 @@ function renderChoice(): void { function reload(): void { if (isset($_GET["ajax"])) { - header("LOCATION: ?ajax"); + header("LOCATION: ?ajax", true, 303); } else { - header("LOCATION: /"); + header("LOCATION: /", true, 303); } - - http_send_status(303); } function newPairing(): array {