mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11052] pass parametes to search construct while posting
Proper parameters are passed in search backend constructor in functions_posting.php PHPBB3-11052
This commit is contained in:
parent
484c0bec11
commit
938805106c
1 changed files with 1 additions and 1 deletions
|
@ -2370,7 +2370,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||||
}
|
}
|
||||||
|
|
||||||
$error = false;
|
$error = false;
|
||||||
$search = new $search_type($error);
|
$search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user);
|
||||||
|
|
||||||
if ($error)
|
if ($error)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue