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:
authorIsaac Bennetch <bennetch@gmail.com>2018-02-21 07:43:54 +0300
committerIsaac Bennetch <bennetch@gmail.com>2018-02-21 07:43:54 +0300
commit5c2f63b02b23c4dd8fb05fc23bb750bfca964760 (patch)
tree2ba4646528fb1977ad2bdb69cd71da99d9680f5f /db_central_columns.php
parent0076bf8636df2530593fe16746211371d38856c2 (diff)
parent1562d1c86be52b4f832e2ce3148ab198353383b8 (diff)
Merge branch 'QA_4_7'
Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
Diffstat (limited to 'db_central_columns.php')
-rw-r--r--db_central_columns.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/db_central_columns.php b/db_central_columns.php
index 8b8d2e7216..e55d2aee54 100644
--- a/db_central_columns.php
+++ b/db_central_columns.php
@@ -109,7 +109,9 @@ if (isset($_POST['delete_save'])) {
false
);
}
-if (isset($_REQUEST['total_rows']) && $_REQUEST['total_rows']) {
+if (!empty($_REQUEST['total_rows'])
+ && PMA_isValid($_REQUEST['total_rows'], 'integer')
+) {
$total_rows = $_REQUEST['total_rows'];
} else {
$total_rows = $centralColumns->getCount($db);