From 90fe828fd1163a5a7bbaa754fd440afedd45afda Mon Sep 17 00:00:00 2001 From: narspt Date: Tue, 6 Feb 2018 08:03:23 +0000 Subject: [PATCH] don't use location.reload() if there is a 'do' GET request --- dashboard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/index.php b/dashboard/index.php index 9f1d9ab..8a23f81 100755 --- a/dashboard/index.php +++ b/dashboard/index.php @@ -98,7 +98,7 @@ else { var PageRefresh; function ReloadPage() {'; - if ($_SERVER['REQUEST_METHOD'] === 'POST') { + if (($_SERVER['REQUEST_METHOD'] === 'POST') || isset($_GET['do'])) { echo ' document.location.href = "./index.php'; if (isset($_GET['show'])) {