1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 02:54:28 +02:00

Handle sending the form without AJAX after AJAX request

This commit is contained in:
Jakub Vrana
2010-10-19 16:44:12 +02:00
parent dfa1a98829
commit 0ba6eaa3e2
2 changed files with 2 additions and 2 deletions

View File

@@ -231,7 +231,7 @@ if (!$columns) {
$result->seek($limit * $page);
}
$email_fields = array();
echo "<form action='' method='post' enctype='multipart/form-data'>\n";
echo "<form action='" . h($_SERVER["REQUEST_URI"]) . "' method='post' enctype='multipart/form-data'>\n"; // $_SERVER["REQUEST_URI"] is required for sending the form after an AJAX request
$rows = array();
while ($row = $result->fetch_assoc()) {
$rows[] = $row;