Changeset 9043 for trunk/src/bp-activity/bp-activity-template.php
- Timestamp:
- 09/25/2014 05:17:36 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-activity/bp-activity-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r8975 r9043 1695 1695 // quite powerful, because doing so also deletes all comments to that 1696 1696 // activity item. We should revisit this eventually. 1697 if ( isset( $activity->user_id ) && ( $activity->user_id === bp_loggedin_user_id() ) ) {1697 if ( isset( $activity->user_id ) && ( (int) $activity->user_id === bp_loggedin_user_id() ) ) { 1698 1698 $can_delete = true; 1699 1699 }
Note: See TracChangeset
for help on using the changeset viewer.