mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:05:23 +02:00
[ticket/17113] Write icon_id to split topic's posts
PHPBB3-17113
This commit is contained in:
committed by
Marc Alexander
parent
78aca08d39
commit
346523fad6
@ -638,9 +638,10 @@ function split_topic($action, $topic_id, $to_forum_id, $subject)
|
||||
$topic_info['topic_title']
|
||||
));
|
||||
|
||||
// Change topic title of first post
|
||||
// Change topic title of first post and write icon_id to post
|
||||
$sql = 'UPDATE ' . POSTS_TABLE . "
|
||||
SET post_subject = '" . $db->sql_escape($subject) . "'
|
||||
SET post_subject = '" . $db->sql_escape($subject) . "',
|
||||
icon_id = '" . $icon_id . "'
|
||||
WHERE post_id = {$post_id_list[0]}";
|
||||
$db->sql_query($sql);
|
||||
|
||||
|
Reference in New Issue
Block a user