Changeset 11438
- Timestamp:
- 02/22/2017 05:23:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r11421 r11438 1528 1528 1529 1529 } else { 1530 $user_id = get_current_user_id(); 1531 $notice_ids = bp_get_user_meta( $user_id, 'closed_notices', true ); 1530 $user_id = get_current_user_id(); 1531 $notice_ids = bp_get_user_meta( $user_id, 'closed_notices', true ); 1532 if ( ! is_array( $notice_ids ) ) { 1533 $notice_ids = array(); 1534 } 1535 1532 1536 $notice_ids[] = (int) $_POST['notice_id']; 1533 1537
Note: See TracChangeset
for help on using the changeset viewer.