Skip to content

Commit

Permalink
Its actually "users" thanks to scrumpyjack for point it that out
Browse files Browse the repository at this point in the history
Signed-off-by: Suki <suki@missallsunday.com>
  • Loading branch information
MissAllSunday committed Jan 24, 2014
1 parent 00aa61a commit 7e08ffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PrivateTopics.php
Expand Up @@ -106,9 +106,9 @@ public function doGet()
if (($this->_return = cache_get_data(self::$name .':'. $this->_topic, 120)) == null)
{
$this->_request = $smcFunc['db_query']('', '
SELECT pt.user, pt.topic_id, mem.real_name
SELECT pt.users, pt.topic_id, mem.real_name
FROM {db_prefix}private_topics as pt
LEFT JOIN {db_prefix}members as mem ON (pt.user = mem.id_member)
LEFT JOIN {db_prefix}members as mem ON (pt.users = mem.id_member)
WHERE topic_id = {int:topic}',
array(
'topic' => $this->_topic,
Expand Down

0 comments on commit 7e08ffb

Please sign in to comment.