diff options
Diffstat (limited to 'phpBB/develop/fill.php')
-rw-r--r-- | phpBB/develop/fill.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/develop/fill.php b/phpBB/develop/fill.php index c1e39fa4f3..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) { @@ -184,5 +184,3 @@ function rndm_username() return $usernames[array_rand($usernames)]; } - -?>
\ No newline at end of file |