Ensure we have integer as position
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
009148075f
commit
aef5df7e13
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user