Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2011-09-28 08:44:24 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2011-09-28 16:47:39 +0400
commit37dff129010b54c90156f55e8e61ef4e7ac850d1 (patch)
tree8ff7d99aa1ec18758359aabd88c9fa8591ffbb6e /sql.php
parent2e101cc7336f2a448dd1682a49f8b343386f8c07 (diff)
bug #3390832 [display] Delete records from last page breaks search
Diffstat (limited to 'sql.php')
-rw-r--r--sql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql.php b/sql.php
index 83900ab5fa..6caeb7b0c3 100644
--- a/sql.php
+++ b/sql.php
@@ -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) {