mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/13504] Fix invalid variable $user
PHPBB3-13504
This commit is contained in:
@@ -434,7 +434,7 @@ class fulltext_native extends \phpbb\search\base
|
|||||||
// throw an error if we shall not ignore unexistant words
|
// throw an error if we shall not ignore unexistant words
|
||||||
else if (!$ignore_no_id && sizeof($non_common_words))
|
else if (!$ignore_no_id && sizeof($non_common_words))
|
||||||
{
|
{
|
||||||
trigger_error(sprintf($user->lang['WORDS_IN_NO_POST'], implode($user->lang['COMMA_SEPARATOR'], $non_common_words)));
|
trigger_error(sprintf($this->user->lang['WORDS_IN_NO_POST'], implode($this->user->lang['COMMA_SEPARATOR'], $non_common_words)));
|
||||||
}
|
}
|
||||||
unset($non_common_words);
|
unset($non_common_words);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user