Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/22/2010 01:29:21 PM (14 years ago)
Author:
apeatling
Message:

Fixing incorrect call to bp site option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-xprofile.php

    r2742 r2762  
    7272    ) {$charset_collate};";
    7373
    74     if ( empty( $bp->site_options['bp-xprofile-db-version'] ) ) {
     74    if ( '' == get_site_option( 'bp-xprofile-db-version' ) ) {
    7575        if ( !$wpdb->get_var( "SELECT id FROM {$bp->profile->table_name_groups} WHERE id = 1" ) )
    7676            $sql[] = "INSERT INTO {$bp->profile->table_name_groups} VALUES ( 1, '" . get_site_option( 'bp-xprofile-base-group-name' ) . "', '', 0 );";
Note: See TracChangeset for help on using the changeset viewer.