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

@@ -15,6 +15,7 @@ phpMyAdmin - ChangeLog
- bug #3413743 [interface] Display options link missing after search - bug #3413743 [interface] Display options link missing after search
- bug #3324161 [core] CSP policy causing designer JS buttons to fail - bug #3324161 [core] CSP policy causing designer JS buttons to fail
- bug #3412862 [relation] Relations/constraints are dropped/created on every change - bug #3412862 [relation] Relations/constraints are dropped/created on every change
- bug #3390832 [display] Delete records from last page breaks search
3.4.5.0 (2011-09-14) 3.4.5.0 (2011-09-14)
- bug #3375325 [interface] Page list in navigation frame looks odd - bug #3375325 [interface] Page list in navigation frame looks odd

View File

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