1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

bug #3390832 [display] Delete records from last page breaks search

This commit is contained in:
Madhura Jayaratne
2011-09-28 10:14:24 +05:30
parent 2e101cc733
commit 37dff12901
2 changed files with 2 additions and 1 deletions

View File

@@ -580,7 +580,7 @@ if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) {
} // end else "didn't ask to see php code"
// No rows returned -> move back to the calling page
if (0 == $num_rows || $is_affected) {
if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
if ($is_delete) {
$message = PMA_Message::deleted_rows($num_rows);
} elseif ($is_insert) {