Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/28/2011 01:33:11 PM (10 years ago)
Author:
boonebgorges
Message:

Allow groups_update_groupmeta() to record an empty value, instead of invoking groups_delete_groupmeta(). Fixes #3139

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-actions.php

    r5302 r5402  
    8989            } else {
    9090                // Create the forum if enable_forum = 1
    91                 if ( bp_is_active( 'forums' ) && '' == groups_get_groupmeta( $bp->groups->new_group_id, 'forum_id' ) ) {
     91                if ( bp_is_active( 'forums' ) && !groups_get_groupmeta( $bp->groups->new_group_id, 'forum_id' ) ) {
    9292                    groups_new_group_forum();
    9393                }
Note: See TracChangeset for help on using the changeset viewer.