phpBB

Code Changes

File: mcp.php

  Unmodified   Added   Modified   Removed
Line 36Line 36
$id = $request->variable('i', '');

$mode = $request->variable('mode', array(''));

$id = $request->variable('i', '');

$mode = $request->variable('mode', array(''));

$mode = sizeof($mode) ? array_shift($mode) : $request->variable('mode', '');

$mode = count($mode) ? array_shift($mode) : $request->variable('mode', '');


// Only Moderators can go beyond this point
if (!$user->data['is_registered'])


// Only Moderators can go beyond this point
if (!$user->data['is_registered'])

Line 59Line 59
	$action = $forum_action;
}


	$action = $forum_action;
}


if (sizeof($action_ary))

if (count($action_ary))

{
list($action, ) = each($action_ary);
}

{
list($action, ) = each($action_ary);
}