Changeset 2485 for trunk/bp-activity/bp-activity-classes.php
- Timestamp:
- 01/31/2010 09:45:19 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r2471 r2485 145 145 146 146 /* If $max is set, only return up to the max results */ 147 if ( (int)$total_activities > (int)$max ) 148 $total_activities = $max; 147 if ( !empty( $max ) ) { 148 if ( (int)$total_activities > (int)$max ) 149 $total_activities = $max; 150 } 149 151 150 152 return array( 'activities' => $activities, 'total' => (int)$total_activities );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)