From 783a156bd2568c052e388bcc67ddde5f7fd4621c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 18 Jun 2015 09:22:07 +0200 Subject: [ticket/13951] Make sure the page number is an integer PHPBB3-13951 --- phpBB/styles/prosilver/template/forum_fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/styles') diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index ccedf19604..0d53a53d8e 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -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'); -- cgit v1.2.1