Changeset 3912 for branches/plugin/bbp-includes/bbp-reply-functions.php
- Timestamp:
- 05/22/2012 08:28:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-reply-functions.php
r3911 r3912 160 160 if ( isset( $_POST['bbp_forum_id'] ) ) { 161 161 $forum_id = (int) $_POST['bbp_forum_id']; 162 } elseif ( !empty( $topic_id ) ) { 163 $forum_id = bbp_get_topic_forum_id( $topic_id ); 162 164 } else { 163 165 bbp_add_error( 'bbp_reply_forum_id', __( '<strong>ERROR</strong>: Forum ID is missing.', 'bbpress' ) );
Note: See TracChangeset
for help on using the changeset viewer.