Permalink
Browse files

Jump to first page after deleting all records

  • Loading branch information...
1 parent 2323f43 commit 50528be5cb4a1ec82b1060f53b74073d9de3855f @vrana committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/select.inc.php
View
@@ -137,7 +137,7 @@
$message = lang('Item%s has been inserted.', " $last_id");
}
}
- queries_redirect(remove_from_uri(), $message, $result);
+ queries_redirect(remove_from_uri($_POST["all"] && $_POST["delete"] ? "page" : ""), $message, $result);
//! display edit page in case of an error
} elseif (!$_POST["import"]) { // modify
if (!$_POST["val"]) {

0 comments on commit 50528be

Please sign in to comment.