Skip to:
Content

bbPress.org

Changeset 130


Ignore:
Timestamp:
06/08/2005 08:59:20 PM (21 years ago)
Author:
mdawaffe
Message:

Populate topic_start_time column during bb_new_topic(). Fixes #76.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.php

    r129 r130  
    342342        if ( $forum && $title ) {
    343343                $bbdb->query("INSERT INTO $bbdb->topics
    344                 (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_time, forum_id)
     344                (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_time, forum_id, topic_start_time)
    345345                VALUES
    346                 ('$title', $current_user->user_id, '$current_user->username', $current_user->user_id, '$current_user->username', '$now', $forum)");
     346                ('$title', $current_user->user_id, '$current_user->username', $current_user->user_id, '$current_user->username', '$now', $forum, '$now')");
    347347                $topic_id = $bbdb->insert_id;
    348348                if ( !empty( $tags ) )
Note: See TracChangeset for help on using the changeset viewer.