Skip to content

Commit

Permalink
Ensure we have integer as position
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 17, 2016
1 parent 0091480 commit aef5df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db_central_columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
$total_rows = PMA_getCentralColumnsCount($db);
}
if (PMA_isValid($_REQUEST['pos'], 'integer')) {
$pos = $_REQUEST['pos'];
$pos = intval($_REQUEST['pos']);
} else {
$pos = 0;
}
Expand Down

0 comments on commit aef5df7

Please sign in to comment.