1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

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

PHPBB3-10785
This commit is contained in:
Callum Macrae 2012-04-11 13:00:02 +01:00
parent 26e7dd98b7
commit e0df7d17f9

View File

@ -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)
{