diff options
author | Nils Adermann <naderman@naderman.de> | 2006-07-07 18:43:52 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2006-07-07 18:43:52 +0000 |
commit | c6227ad5b0904c2c61737c8267f71fbc9f543a3b (patch) | |
tree | 816b1d766d2bc1c3dc15b6071c19895f379830c7 /phpBB/includes/functions_posting.php | |
parent | a5c23243c7a0a86ccd749b7733b11d30a6c349e1 (diff) | |
download | forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.gz forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.bz2 forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.tar.xz forums-c6227ad5b0904c2c61737c8267f71fbc9f543a3b.zip |
- fixed a parse error (oops)
- pass forum_ids to search indexing functions
- fixed a bug in fulltext_native's cache destroying
git-svn-id: file:///svn/phpbb/trunk@6152 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 70b568a5ed..9071b78860 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1844,7 +1844,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u trigger_error($error); } - $search->index($mode, $data['post_id'], $data['message'], $subject, $poster_id); + $search->index($mode, $data['post_id'], $data['message'], $subject, $poster_id, ($topic_type == POST_GLOBAL) ? 0 : $data['forum_id']); } $db->sql_transaction('commit'); |