Changeset 909
- Timestamp:
- 01/23/2009 07:42:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r905 r909 179 179 if ( count($activities_formatted) ) 180 180 BP_Activity_Activity::cache_activities( $activities_formatted, $user_id ); 181 182 // Now honor the limit value, otherwise we may return 30 items on a profile page. 183 $activities_formatted = array_slice($activities_formatted, 0, $limit); 181 182 if ( is_array( $activities_formatted ) ) { 183 // Now honor the limit value, otherwise we may return 30 items on a profile page. 184 $activities_formatted = array_slice($activities_formatted, 0, $limit); 185 } 184 186 } 185 187
Note: See TracChangeset
for help on using the changeset viewer.