1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/13951] Make sure the page number is an integer

PHPBB3-13951
This commit is contained in:
Marc Alexander 2015-06-18 09:22:07 +02:00
parent a259d61f57
commit 783a156bd2

View File

@ -34,7 +34,7 @@ function popup(url, width, height, name) {
function pageJump(item) {
'use strict';
var page = item.val(),
var page = parseInt(item.val(), 10),
perPage = item.attr('data-per-page'),
baseUrl = item.attr('data-base-url'),
startName = item.attr('data-start-name');