mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
[ticket/10586] Copy/paste fail fixed
PHPBB3-10586
This commit is contained in:
@@ -28,7 +28,7 @@ $user->setup('viewforum');
|
||||
if ($ext = $request->variable('ext', ''))
|
||||
{
|
||||
// The class to load
|
||||
$class = 'phpbb_ext_' . str_replace('/', '_', $name) . '_controller';
|
||||
$class = 'phpbb_ext_' . str_replace('/', '_', $ext) . '_controller';
|
||||
|
||||
// Make sure the specified extension is enabled
|
||||
// and that it has a controller class
|
||||
|
Reference in New Issue
Block a user