aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/faq.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-05-16 22:06:37 +0200
committerJoas Schilling <nickvergessen@gmx.de>2015-05-16 22:09:05 +0200
commit07231e7943e9ffdba08393be56510e682ab7a7e5 (patch)
tree31905c8e7e124a232b8892f3f519b4b876573a77 /phpBB/faq.php
parentff7e9dc91262aa43c6153831a33fda13d5324325 (diff)
downloadforums-07231e7943e9ffdba08393be56510e682ab7a7e5.tar
forums-07231e7943e9ffdba08393be56510e682ab7a7e5.tar.gz
forums-07231e7943e9ffdba08393be56510e682ab7a7e5.tar.bz2
forums-07231e7943e9ffdba08393be56510e682ab7a7e5.tar.xz
forums-07231e7943e9ffdba08393be56510e682ab7a7e5.zip
[ticket/13844] FAQ in new controller format
PHPBB3-13844
Diffstat (limited to 'phpBB/faq.php')
-rw-r--r--phpBB/faq.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/faq.php b/phpBB/faq.php
index 7420bc5a95..36a33c97a8 100644
--- a/phpBB/faq.php
+++ b/phpBB/faq.php
@@ -28,8 +28,9 @@ $user->setup();
$controller_helper = $phpbb_container->get('controller.helper');
$response = new \Symfony\Component\HttpFoundation\RedirectResponse(
- $controller_helper->route('phpbb_help_controller', array(
- 'mode' => $request->variable('mode', 'faq'),
- ), 301)
+ $controller_helper->route(
+ $request->variable('mode', 'faq') === 'bbcode' ? 'phpbb_help_bbcode_controller' : 'phpbb_help_faq_controller'
+ ),
+ 301
);
$response->send();