mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 06:36:39 +02:00
[ticket/16138] Eliminate redundant parameters from board URLs
Minor fixes after review PHPBB3-16138
This commit is contained in:
@ -57,7 +57,6 @@ switch ($mode)
|
||||
$forum_id = $request->variable('f', 0);
|
||||
if (!$forum_id)
|
||||
{
|
||||
$user->setup('posting');
|
||||
trigger_error('NO_FORUM');
|
||||
}
|
||||
break;
|
||||
@ -76,7 +75,6 @@ switch ($mode)
|
||||
}
|
||||
if (!$topic_id || !$forum_id)
|
||||
{
|
||||
$user->setup('posting');
|
||||
trigger_error('NO_TOPIC');
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user