Ticket #1555: 1555.patch
| File 1555.patch, 639 bytes (added by , 15 years ago) |
|---|
-
bbp-includes/bbp-forum-functions.php
55 55 bbp_get_forum_post_type() === $_POST['post_type'] 56 56 ) { 57 57 58 $parent_forum_id = ( !empty( $_POST['parent_id'] ) ? (int) $_POST['parent_id'] : 0 ); 59 58 60 // Update the forum meta bidness 59 bbp_update_forum( array( 'forum_id' => $forum_id, 'post_parent' => (int) $_POST['parent_id']) );61 bbp_update_forum( array( 'forum_id' => $forum_id, 'post_parent' => $parent_forum_id ) ); 60 62 } 61 63 } 62 64