Changeset 10908
- Timestamp:
- 06/28/2016 05:25:48 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r10858 r10908 614 614 } 615 615 616 // Integer casting for legacy activity query. 617 foreach ( (array) $activities as $i => $ac ) { 618 $activities[ $i ]->id = (int) $ac->id; 619 $activities[ $i ]->item_id = (int) $ac->item_id; 620 $activities[ $i ]->secondary_item_id = (int) $ac->secondary_item_id; 621 $activities[ $i ]->user_id = (int) $ac->user_id; 622 $activities[ $i ]->hide_sitewide = (int) $ac->hide_sitewide; 623 $activities[ $i ]->mptt_left = (int) $ac->mptt_left; 624 $activities[ $i ]->mptt_right = (int) $ac->mptt_right; 625 $activities[ $i ]->is_spam = (int) $ac->is_spam; 626 } 627 616 628 } else { 617 629 // Query first for activity IDs.
Note: See TracChangeset
for help on using the changeset viewer.