Changeset 5072 for trunk/bp-forums/bp-forums-template.php
- Timestamp:
- 08/31/2011 01:12:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-template.php
r5047 r5072 1057 1057 extract( $r, EXTR_SKIP ); 1058 1058 1059 if ( empty( $topic_id ) && bp_is_ current_component( 'groups') && bp_is_current_action( 'forum' ) && bp_is_action_variable( 'topic', 0 ) && bp_action_variable( 1 ) )1059 if ( empty( $topic_id ) && bp_is_groups_component() && bp_is_current_action( 'forum' ) && bp_is_action_variable( 'topic', 0 ) && bp_action_variable( 1 ) ) 1060 1060 $topic_id = bp_forums_get_topic_id_from_slug( bp_action_variable( 1 ) ); 1061 elseif ( empty( $topic_id ) && bp_is_ current_component( 'forums') && bp_is_current_action( 'topic' ) && bp_action_variable( 0 ) )1061 elseif ( empty( $topic_id ) && bp_is_forums_component() && bp_is_current_action( 'topic' ) && bp_action_variable( 0 ) ) 1062 1062 $topic_id = bp_forums_get_topic_id_from_slug( bp_action_variable( 0 ) ); 1063 1063
Note: See TracChangeset
for help on using the changeset viewer.