diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 22:06:37 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-05-16 22:09:05 +0200 |
commit | 07231e7943e9ffdba08393be56510e682ab7a7e5 (patch) | |
tree | 31905c8e7e124a232b8892f3f519b4b876573a77 /phpBB/faq.php | |
parent | ff7e9dc91262aa43c6153831a33fda13d5324325 (diff) | |
download | forums-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.php | 7 |
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(); |