Skip to:
Content

BuddyPress.org

Changeset 6007


Ignore:
Timestamp:
04/25/2012 08:14:01 PM (12 years ago)
Author:
djpaul
Message:

Fix PHP Notice when a comment hasn't got a previous recorded state for Akismet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-akismet.php

    r5684 r6007  
    548548    public function get_activity_history( $activity_id = 0 ) {
    549549        $history = bp_activity_get_meta( $activity_id, '_bp_akismet_history' );
     550        if ( $history === false )
     551            $history = array();
    550552
    551553        // Sort it by the time recorded
Note: See TracChangeset for help on using the changeset viewer.