aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-06-27 11:14:23 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-06-27 11:14:23 +0200
commit7b93df1522b3e670e856a2630eac208b210a0831 (patch)
treec9658e3075aa12c290af86a23c56b573692c62ef
parent223703039834aadb740aeec385f30ee07f0c0e50 (diff)
parent783a156bd2568c052e388bcc67ddde5f7fd4621c (diff)
downloadforums-7b93df1522b3e670e856a2630eac208b210a0831.tar
forums-7b93df1522b3e670e856a2630eac208b210a0831.tar.gz
forums-7b93df1522b3e670e856a2630eac208b210a0831.tar.bz2
forums-7b93df1522b3e670e856a2630eac208b210a0831.tar.xz
forums-7b93df1522b3e670e856a2630eac208b210a0831.zip
Merge pull request #3714 from marc1706/ticket/13951
[ticket/13951] Make sure the page number is an integer
-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');