[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:
Dhruv 2012-08-15 21:09:42 +05:30
parent 484c0bec11
commit 938805106c

View file

@ -2370,7 +2370,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
}
$error = false;
$search = new $search_type($error);
$search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user);
if ($error)
{