Skip to:
Content

BuddyPress.org

Changeset 2547 for trunk/bp-forums.php


Ignore:
Timestamp:
02/02/2010 09:42:06 PM (15 years ago)
Author:
apeatling
Message:

Fixing checks for spaces in values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r2533 r2547  
    443443        $post_position = $post->post_position;
    444444
    445     $post = bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( $post_text ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) );
     445    $post = bb_insert_post( array( 'post_id' => $post_id, 'topic_id' => $topic_id, 'post_text' => stripslashes( trim( $post_text ) ), 'post_time' => $post_time, 'poster_id' => $poster_id, 'poster_ip' => $poster_ip, 'post_status' => $post_status, 'post_position' => $post_position ) );
    446446
    447447    if ( $post )
Note: See TracChangeset for help on using the changeset viewer.