Changeset 3561 for trunk/bp-forums/bp-forums-templatetags.php
- Timestamp:
- 12/22/2010 02:10:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-templatetags.php
r3511 r3561 494 494 global $forum_template, $bp; 495 495 496 if ( $forum_template->topic->object_slug)496 if ( !empty( $forum_template->topic->object_slug ) ) 497 497 $permalink = $bp->root_domain . '/' . BP_GROUPS_SLUG . '/' . $forum_template->topic->object_slug . '/'; 498 else if ( $bp->is_single_item)498 else if ( !empty( $bp->is_single_item ) ) 499 499 $permalink = $bp->root_domain . '/' . $bp->current_component . '/' . $bp->current_item . '/'; 500 500 else
Note: See TracChangeset
for help on using the changeset viewer.