Skip to:
Content

BuddyPress.org

Ticket #5812: 5812.01.patch

File 5812.01.patch, 664 bytes (added by r-a-y, 10 years ago)
  • src/bp-groups/bp-groups-classes.php

     
    31383138                        $this->init();
    31393139                }
    31403140
     3141                // Grab the group ID
     3142                $this->group_id = $this->get_group_id();
     3143
     3144                // Bail if no group
     3145                if ( empty( $this->group_id ) ) {
     3146                        return;
     3147                }
     3148
    31413149                // Set some config values, based on the parsed params
    3142                 $this->group_id          = $this->get_group_id();
    31433150                $this->slug              = $this->params['slug'];
    31443151                $this->name              = $this->params['name'];
    31453152                $this->visibility        = $this->params['visibility'];