aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2012-04-11 13:00:02 +0100
committerCallum Macrae <callum@lynxphp.com>2012-04-11 13:00:02 +0100
commite0df7d17f9a4d6afc1033b5ab181001eaa5afce0 (patch)
treec51f8b3078a108a8d2f51202230b306962625ab7
parent26e7dd98b71655c7e09be02ebd3ef84765ce27b8 (diff)
downloadforums-e0df7d17f9a4d6afc1033b5ab181001eaa5afce0.tar
forums-e0df7d17f9a4d6afc1033b5ab181001eaa5afce0.tar.gz
forums-e0df7d17f9a4d6afc1033b5ab181001eaa5afce0.tar.bz2
forums-e0df7d17f9a4d6afc1033b5ab181001eaa5afce0.tar.xz
forums-e0df7d17f9a4d6afc1033b5ab181001eaa5afce0.zip
[ticket/10785] Fixed illegal use of $_REQUEST in develop/fill.php.
PHPBB3-10785
-rw-r--r--phpBB/develop/fill.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/develop/fill.php b/phpBB/develop/fill.php
index a4cd90bfca..5c3552265d 100644
--- a/phpBB/develop/fill.php
+++ b/phpBB/develop/fill.php
@@ -39,8 +39,8 @@ $posts_per_topic = 500;
// general vars
-$mode = (isset($_REQUEST['mode'])) ? $_REQUEST['mode'] : 'generate';
-$start = (isset($_REQUEST['start'])) ? intval($_REQUEST['start']) : 0;
+$mode = request_var('mode', 'generate');
+$start = request_var('start', 0);
switch ($mode)
{