mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 15:01:33 +02:00
[ticket/13713] Make changes pointed by @Nicofuma
PHPBB3-13713
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
namespace phpbb\mention\controller;
|
||||
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
|
||||
class mention
|
||||
{
|
||||
@@ -45,7 +46,7 @@ class mention
|
||||
{
|
||||
// if (!$this->request->is_ajax())
|
||||
// {
|
||||
// redirect(append_sid($this->phpbb_root_path . 'index.' . $this->php_ext));
|
||||
// new RedirectResponse(append_sid($this->phpbb_root_path . 'index.' . $this->php_ext));
|
||||
// }
|
||||
|
||||
$keyword = $this->request->variable('keyword', '', true);
|
||||
|
Reference in New Issue
Block a user