Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/23/2011 08:36:24 PM (11 years ago)
Author:
boonebgorges
Message:

Adds tag editing field to Topic Edit screen. References #2281

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-screens.php

    r4137 r4147  
    232232                    check_admin_referer( 'bp_forums_edit_topic' );
    233233
    234                     if ( !groups_update_group_forum_topic( $topic_id, $_POST['topic_title'], $_POST['topic_text'] ) )
     234                    $topic_tags = !empty( $_POST['topic_tags'] ) ? $_POST['topic_tags'] : false;
     235
     236                    if ( !groups_update_group_forum_topic( $topic_id, $_POST['topic_title'], $_POST['topic_text'], $topic_tags ) )
    235237                        bp_core_add_message( __( 'There was an error when editing that topic', 'buddypress'), 'error' );
    236238                    else
Note: See TracChangeset for help on using the changeset viewer.