Changeset 6829
- Timestamp:
- 07/05/2018 06:17:22 AM (8 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 2 edited
-
forums/template.php (modified) (1 diff)
-
topics/template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/template.php
r6819 r6829 2235 2235 2236 2236 // Get current posts author 2237 $post_author = bbp_get_global_post_field( 'post_author', 'raw' );2237 $post_author = (int) bbp_get_global_post_field( 'post_author', 'raw' ); 2238 2238 2239 2239 // Post author is not the current user -
trunk/src/includes/topics/template.php
r6816 r6829 3854 3854 3855 3855 // Get current posts author 3856 $post_author = bbp_get_global_post_field( 'post_author', 'raw' );3856 $post_author = (int) bbp_get_global_post_field( 'post_author', 'raw' ); 3857 3857 3858 3858 // Post author is not the current user
Note: See TracChangeset
for help on using the changeset viewer.