From 029d749fb895f442cafbb49cda50e191eef327d2 Mon Sep 17 00:00:00 2001 From: Unknown Date: Mon, 5 Jul 2021 15:39:51 -0300 Subject: [PATCH] Redirect to listview after editing --- public/edit.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/public/edit.php b/public/edit.php index cdbe5483..cd8c55f4 100644 --- a/public/edit.php +++ b/public/edit.php @@ -184,13 +184,8 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") { } } - if ($new == 0) { - header("Location: " . $formconf['listview']); - exit; - } else { - header("Location: edit.php?table=$table"); - exit; - } + header("Location: " . $formconf['listview']); + exit; } } }