Permalink
Browse files

[ticket/10785] Fixed illegal use of $_REQUEST in develop/fill.php.

PHPBB3-10785
  • Loading branch information...
1 parent 26e7dd9 commit e0df7d17f9a4d6afc1033b5ab181001eaa5afce0 @callumacrae callumacrae committed Apr 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 phpBB/develop/fill.php
View
4 phpBB/develop/fill.php
@@ -39,8 +39,8 @@
// 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)
{

0 comments on commit e0df7d1

Please sign in to comment.