1
0
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:
lavigor
2018-07-07 23:53:20 +03:00
committed by Marc Alexander
parent d195244004
commit ffbff7ed79
3 changed files with 19 additions and 17 deletions

View File

@@ -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);