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:
authorMichal Čihař <michal@cihar.com>2016-06-17 14:00:45 +0300
committerMichal Čihař <michal@cihar.com>2016-06-17 14:00:45 +0300
commitaef5df7e133779a2597655017f77f5c325c7e7e6 (patch)
treedb7deeb70f6e15d90f028f810e825e951650a120 /db_central_columns.php
parent009148075f8630b79eeafc60ef302607146ed20b (diff)
Ensure we have integer as position
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_central_columns.php')
-rw-r--r--db_central_columns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_central_columns.php b/db_central_columns.php
index 6908076285..0b1294f812 100644
--- a/db_central_columns.php
+++ b/db_central_columns.php
@@ -93,7 +93,7 @@ if (isset($_REQUEST['total_rows']) && $_REQUEST['total_rows']) {
$total_rows = PMA_getCentralColumnsCount($db);
}
if (PMA_isValid($_REQUEST['pos'], 'integer')) {
- $pos = $_REQUEST['pos'];
+ $pos = intval($_REQUEST['pos']);
} else {
$pos = 0;
}