aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2012-08-15 21:09:42 +0530
committerDhruv <dhruv.goel92@gmail.com>2012-08-15 21:09:42 +0530
commit938805106c75499eb953d1a22a1ce772c21252de (patch)
tree8a9d4abd4ff5e25211e153f106d4b4e50727a37c /phpBB
parent484c0bec115ccb44512f69b2e927293765c79496 (diff)
downloadforums-938805106c75499eb953d1a22a1ce772c21252de.tar
forums-938805106c75499eb953d1a22a1ce772c21252de.tar.gz
forums-938805106c75499eb953d1a22a1ce772c21252de.tar.bz2
forums-938805106c75499eb953d1a22a1ce772c21252de.tar.xz
forums-938805106c75499eb953d1a22a1ce772c21252de.zip
[ticket/11052] pass parametes to search construct while posting
Proper parameters are passed in search backend constructor in functions_posting.php PHPBB3-11052
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
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)
{