Changeset 707002
- Timestamp:
- 05/02/2013 03:32:13 PM (13 years ago)
- File:
-
- 1 edited
-
buddypress-xml-rpc-receiver/trunk/bp-xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
buddypress-xml-rpc-receiver/trunk/bp-xmlrpc.php
r706999 r707002 883 883 switch(@$data['scope']) { 884 884 case 'favorites': 885 $include = implode( ',', (array)bp_activity_get_user_favorites( $bp->loggedin_user->id ) ); 886 if(!$include) 887 $include = 0; 885 $favs = (array)bp_activity_get_user_favorites( $bp->loggedin_user->id ); 886 if(empty($favs)) 887 $favs = array(-1); 888 $include = implode( ',', $favs ); 888 889 break; 889 890 case 'friends':
Note: See TracChangeset
for help on using the changeset viewer.