summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit <git@what.cd>2015-11-16 08:00:28 +0000
committerGit <git@what.cd>2015-11-16 08:00:28 +0000
commitebd54b6f7e66e69c63391ebbdbd6299baf788dfc (patch)
treef858d065269749d9cd0f766e4997ad358493501a
parent8bd65bfe066ec671553c38e88c48713a73b85192 (diff)
downloadGazelle-ebd54b6f7e66e69c63391ebbdbd6299baf788dfc.zip
Gazelle-ebd54b6f7e66e69c63391ebbdbd6299baf788dfc.tar.gz
Gazelle-ebd54b6f7e66e69c63391ebbdbd6299baf788dfc.tar.bz2
Empty commit
-rw-r--r--sections/ajax/forum/forum.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/sections/ajax/forum/forum.php b/sections/ajax/forum/forum.php
index a465d8c..32a6a52 100644
--- a/sections/ajax/forum/forum.php
+++ b/sections/ajax/forum/forum.php
@@ -20,9 +20,7 @@ if (!is_number($ForumID)) {
}
if (isset($_GET['pp'])) {
-
- $PerPage = $_GET['pp'];
-
+ $PerPage = (int) $_GET['pp'];
} elseif (isset($LoggedUser['PostsPerPage'])) {
$PerPage = $LoggedUser['PostsPerPage'];
} else {