Skip to:
Content

BuddyPress.org

Changeset 2661


Ignore:
Timestamp:
02/11/2010 10:59:43 AM (15 years ago)
Author:
apeatling
Message:

Fixes #1902

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r2656 r2661  
    210210    extract( $r, EXTR_SKIP );
    211211
     212    $topic_title = strip_tags( $topic_title );
     213
     214    if ( empty( $topic_title ) || !strlen( trim( $topic_title ) ) )
     215        return false;
     216
    212217    if ( empty( $topic_slug ) )
    213218        $topic_slug = sanitize_title( $topic_title );
Note: See TracChangeset for help on using the changeset viewer.