Changeset 2288 for trunk/bp-forums.php
- Timestamp:
- 01/10/2010 09:55:51 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums.php
r2239 r2288 195 195 'topic_title' => '', 196 196 'topic_slug' => '', 197 'topic_text' => '', 197 198 'topic_poster' => $bp->loggedin_user->id, // accepts ids 198 199 'topic_poster_name' => $bp->loggedin_user->fullname, // accept names … … 243 244 244 245 /* Update the first post */ 245 if ( !$post = b b_insert_post( array( 'post_id' => $post->post_id, 'topic_id' => $topic_id, 'post_text' => $topic_text, 'post_time' => $post->post_time, 'poster_id' => $post->poster_id, 'poster_ip' => $post->poster_ip, 'post_status' => $post->post_status, 'post_position' => $post->post_position ) ) )246 if ( !$post = bp_forums_insert_post( array( 'post_id' => $post->post_id, 'topic_id' => $topic_id, 'post_text' => $topic_text, 'post_time' => $post->post_time, 'poster_id' => $post->poster_id, 'poster_ip' => $post->poster_ip, 'post_status' => $post->post_status, 'post_position' => $post->post_position ) ) ) 246 247 return false; 247 248
Note: See TracChangeset
for help on using the changeset viewer.