Changeset 8578
- Timestamp:
- 07/09/2014 08:30:58 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-notifications/bp-notifications-template.php
r8142 r8578 308 308 309 309 } else { 310 if ( ! empty( $ max) ) {311 if ( $ max>= count( $this->notifications ) ) {310 if ( ! empty( $r['max'] ) ) { 311 if ( $r['max'] >= count( $this->notifications ) ) { 312 312 $this->notification_count = count( $this->notifications ); 313 313 } else { 314 $this->notification_count = (int) $ max;314 $this->notification_count = (int) $r['max']; 315 315 } 316 316 } else {
Note: See TracChangeset
for help on using the changeset viewer.