Skip to:
Content

BuddyPress.org

Ticket #5778: 5778.02.patch

File 5778.02.patch, 720 bytes (added by r-a-y, 9 years ago)
  • src/bp-templates/bp-legacy/buddypress/activity/post-form.php

     
    4444                                <input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php esc_attr_e( 'Post Update', 'buddypress' ); ?>" />
    4545                        </div>
    4646
    47                         <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
     47                        <?php if ( bp_is_active( 'groups' ) && ! bp_is_my_profile() && ! bp_is_group() && bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
    4848
    4949                                <div id="whats-new-post-in-box">
    5050