Plugin Directory

Changeset 706990


Ignore:
Timestamp:
05/02/2013 03:20:04 PM (13 years ago)
Author:
Yuttadhammo
Message:

fixing message for activities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddypress-xml-rpc-receiver/trunk/bp-xmlrpc.php

    r706988 r706990  
    937937        }
    938938
    939        
     939        $output = array();
     940        $output['confirmation'] = true;
    940941
    941942        if ( $include ) {
     
    946947
    947948
    948         if ( @$activities && !empty($activities) ) {
     949        if ( @$activities['activities'] && !empty(@$activities['activities']) ) {
    949950
    950951            //loop
     
    989990                $output['message'][$key] = $activity;
    990991            }
    991             $output['confirmation'] = true;
    992992           
    993993        } else {
    994994            //not a true error - just lonely.
    995             $output['confirmation'] = true;
    996995            $output['message'] = __( 'There were no activity stream items found.', 'bp-xmlrpc' );
    997996        }
Note: See TracChangeset for help on using the changeset viewer.