mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
bah!
git-svn-id: file:///svn/phpbb/trunk@7508 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
03e4d762c9
commit
7a6bd82cd0
1 changed files with 1 additions and 0 deletions
|
@ -2033,6 +2033,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
||||||
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_poster_name = '" . $db->sql_escape((!$user->data['is_registered'] && $username) ? $username : (($user->data['user_id'] != ANONYMOUS) ? $user->data['username'] : '')) . "'";
|
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_poster_name = '" . $db->sql_escape((!$user->data['is_registered'] && $username) ? $username : (($user->data['user_id'] != ANONYMOUS) ? $user->data['username'] : '')) . "'";
|
||||||
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_poster_colour = '" . (($user->data['user_id'] != ANONYMOUS) ? $db->sql_escape($user->data['user_colour']) : '') . "'";
|
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_poster_colour = '" . (($user->data['user_id'] != ANONYMOUS) ? $db->sql_escape($user->data['user_colour']) : '') . "'";
|
||||||
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_post_subject = '" . $db->sql_escape($subject) . "'";
|
$sql_data[TOPICS_TABLE]['stat'][] = "topic_last_post_subject = '" . $db->sql_escape($subject) . "'";
|
||||||
|
$sql_data[FORUMS_TABLE]['stat'][] = 'topic_last_post_time = ' . (int) $current_time;
|
||||||
}
|
}
|
||||||
else if ($post_mode == 'edit_last_post')
|
else if ($post_mode == 'edit_last_post')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue