From 938805106c75499eb953d1a22a1ce772c21252de Mon Sep 17 00:00:00 2001 From: Dhruv Date: Wed, 15 Aug 2012 21:09:42 +0530 Subject: [PATCH] [ticket/11052] pass parametes to search construct while posting Proper parameters are passed in search backend constructor in functions_posting.php PHPBB3-11052 --- phpBB/includes/functions_posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 6c21b0f412..4d09367934 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -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) {