mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12801] Add topic_poster to load_drafts' topics query
PHPBB3-12801
This commit is contained in:
parent
a0e00889d1
commit
e7f124b8ce
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ function load_drafts($topic_id = 0, $forum_id = 0, $id = 0, $pm_action = '', $ms
|
||||||
$topic_rows = array();
|
$topic_rows = array();
|
||||||
if (sizeof($topic_ids))
|
if (sizeof($topic_ids))
|
||||||
{
|
{
|
||||||
$sql = 'SELECT topic_id, forum_id, topic_title
|
$sql = 'SELECT topic_id, forum_id, topic_title, topic_poster
|
||||||
FROM ' . TOPICS_TABLE . '
|
FROM ' . TOPICS_TABLE . '
|
||||||
WHERE ' . $db->sql_in_set('topic_id', array_unique($topic_ids));
|
WHERE ' . $db->sql_in_set('topic_id', array_unique($topic_ids));
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue