diff options
author | Michal Čihař <michal@cihar.com> | 2016-06-17 14:00:45 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-06-17 14:00:45 +0300 |
commit | aef5df7e133779a2597655017f77f5c325c7e7e6 (patch) | |
tree | db7deeb70f6e15d90f028f810e825e951650a120 /db_central_columns.php | |
parent | 009148075f8630b79eeafc60ef302607146ed20b (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.php | 2 |
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; } |