Skip to:
Content

BuddyPress.org

Ticket #4312: bp-activity-template.diff

File bp-activity-template.diff, 782 bytes (added by imath, 12 years ago)
  • bp-activity/bp-activity-template.php

     
    22222222
    22232223        $can_comment = true;
    22242224
    2225         if ( false === $activities_template->disable_blogforum_replies || (int) $activities_template->disable_blogforum_replies ) {
     2225        if ( false === $activities_template->disable_blogforum_replies || (int) $activities_template->disable_blogforum_replies == 0 ) {
    22262226                if ( 'new_blog_post' == bp_get_activity_action_name() || 'new_blog_comment' == bp_get_activity_action_name() || 'new_forum_topic' == bp_get_activity_action_name() || 'new_forum_post' == bp_get_activity_action_name() )
    22272227                        $can_comment = false;
    22282228        }