aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-06 19:37:51 -0700
committerfriendica <info@friendica.com>2014-10-06 19:37:51 -0700
commit03585b8f885c7c7482cb58b277af187151dc0887 (patch)
treeb081c3267c98f1cbb1bc59ffc94874eadc919201 /include
parent5da8e56f25fd29af9458647833765d82e2156169 (diff)
downloadvolse-hubzilla-03585b8f885c7c7482cb58b277af187151dc0887.tar.gz
volse-hubzilla-03585b8f885c7c7482cb58b277af187151dc0887.tar.bz2
volse-hubzilla-03585b8f885c7c7482cb58b277af187151dc0887.zip
SQL error - private message conversation lookup
Diffstat (limited to 'include')
-rw-r--r--include/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php
index 88cfb7ba2..b063530d6 100644
--- a/include/message.php
+++ b/include/message.php
@@ -50,7 +50,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
// look for any existing conversation structure
if(strlen($replyto)) {
- $r = q("select convid from mail where uid = %d and ( mid = '%s' or parent_mid = '%s' ) limit 1",
+ $r = q("select convid from mail where channel_id = %d and ( mid = '%s' or parent_mid = '%s' ) limit 1",
intval(local_user()),
dbesc($replyto),
dbesc($replyto)