From e4b196e72af2caf1f94c1ae81eb9f59d5647f48c Mon Sep 17 00:00:00 2001 From: narspt Date: Tue, 6 Feb 2018 08:12:24 +0000 Subject: [PATCH] db2: don't use location.reload() if there is a 'do' GET request --- dashboard2/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard2/index.php b/dashboard2/index.php index cf29a95..25fea68 100644 --- a/dashboard2/index.php +++ b/dashboard2/index.php @@ -110,7 +110,7 @@ if ($CallingHome['Active']) { 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'])) {