diff --git a/ChangeLog b/ChangeLog index 04ce19b079..bc7d5b13fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -64,6 +64,7 @@ phpMyAdmin - ChangeLog - bug #3413743 [interface] Display options link missing after search - bug #3324161 [core] CSP policy causing designer JS buttons to fail - 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) - bug #3375325 [interface] Page list in navigation frame looks odd diff --git a/sql.php b/sql.php index dc3d1a1704..e941b7ca11 100644 --- a/sql.php +++ b/sql.php @@ -677,7 +677,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) {