aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-18 09:22:07 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-06-18 09:22:07 +0200
commit783a156bd2568c052e388bcc67ddde5f7fd4621c (patch)
tree752e88abc84c3ac8b72101dd8f48f7868fb434d4 /phpBB/styles
parenta259d61f576d92194d13771e5b7edb3c1c977743 (diff)
downloadforums-783a156bd2568c052e388bcc67ddde5f7fd4621c.tar
forums-783a156bd2568c052e388bcc67ddde5f7fd4621c.tar.gz
forums-783a156bd2568c052e388bcc67ddde5f7fd4621c.tar.bz2
forums-783a156bd2568c052e388bcc67ddde5f7fd4621c.tar.xz
forums-783a156bd2568c052e388bcc67ddde5f7fd4621c.zip
[ticket/13951] Make sure the page number is an integer
PHPBB3-13951
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js2
1 files changed, 1 insertions, 1 deletions
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');