Skip to:
Content

BuddyPress.org

Ticket #1791: insert.diff

File insert.diff, 445 bytes (added by rvenable, 14 years ago)
  • bp-activity/bp-activity-classes.php

     
    6262                if ( !$wpdb->query( $q ) )
    6363                        return false;
    6464
    65                 $this->id = $wpdb->insert_id;
     65                if ( !$this->id )
     66                        $this->id = $wpdb->insert_id;
    6667
    6768                do_action( 'bp_activity_after_save', $this );
    6869                return true;