Changeset 5923
- Timestamp:
- 08/16/2015 12:30:09 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/functions.php
r5918 r5923 2050 2050 $topic_ids = bbp_get_public_child_ids( $forum_id, bbp_get_topic_post_type() ); 2051 2051 2052 return apply_filters( 'bbp_forum_query_topic_ids', $topic_ids, $forum_id );2052 return (array) apply_filters( 'bbp_forum_query_topic_ids', $topic_ids, $forum_id ); 2053 2053 } 2054 2054 … … 2070 2070 //usort( $subforum_ids, '_bbp_forum_query_usort_subforum_ids' ); 2071 2071 2072 return apply_filters( 'bbp_forum_query_subforum_ids', $subforum_ids, $forum_id );2072 return (array) apply_filters( 'bbp_forum_query_subforum_ids', $subforum_ids, $forum_id ); 2073 2073 } 2074 2074
Note: See TracChangeset
for help on using the changeset viewer.