aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2014-07-03 15:11:19 +0100
committerbrunoais <brunoaiss@gmail.com>2014-07-03 15:11:19 +0100
commite7f124b8ce7f483bfbeed4c3aabe43c96d1060cb (patch)
treeccc37fe4316f0f0e251defc0550ba807663f714e /phpBB/includes/functions_posting.php
parenta0e00889d1a03804625522405824ac8cbce15c22 (diff)
downloadforums-e7f124b8ce7f483bfbeed4c3aabe43c96d1060cb.tar
forums-e7f124b8ce7f483bfbeed4c3aabe43c96d1060cb.tar.gz
forums-e7f124b8ce7f483bfbeed4c3aabe43c96d1060cb.tar.bz2
forums-e7f124b8ce7f483bfbeed4c3aabe43c96d1060cb.tar.xz
forums-e7f124b8ce7f483bfbeed4c3aabe43c96d1060cb.zip
[ticket/12801] Add topic_poster to load_drafts' topics query
PHPBB3-12801
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 0b37af0ee0..d728396524 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -936,7 +936,7 @@ function load_drafts($topic_id = 0, $forum_id = 0, $id = 0, $pm_action = '', $ms
$topic_rows = array();
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 . '
WHERE ' . $db->sql_in_set('topic_id', array_unique($topic_ids));
$result = $db->sql_query($sql);