Ticket #3418: 3418.01.patch
File 3418.01.patch, 872 bytes (added by , 3 years ago) |
---|
-
src/includes/topics/functions.php
249 249 250 250 /** Topic Duplicate *******************************************************/ 251 251 252 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_topic_post_type(), 'post_author' => $topic_author, 'post_content' => $topic_content, ' anonymous_data' => $anonymous_data ) ) ) {252 if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_topic_post_type(), 'post_author' => $topic_author, 'post_content' => $topic_content, 'post_parent' => $forum_id, 'anonymous_data' => $anonymous_data ) ) ) { 253 253 bbp_add_error( 'bbp_topic_duplicate', __( '<strong>Error</strong>: Duplicate topic detected; it looks as though you’ve already said that.', 'bbpress' ) ); 254 254 } 255 255