db2: don't use location.reload() if there is a 'do' GET request

This commit is contained in:
narspt 2018-02-06 08:12:24 +00:00 committed by GitHub
parent 90fe828fd1
commit e4b196e72a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) {