slight hack to improve public forum detection in the forum widget

This commit is contained in:
redmatrix
2015-09-09 18:18:27 -07:00
parent 4cd6e7ec91
commit 4af339da63
2 changed files with 4 additions and 1 deletions

View File

@@ -49,6 +49,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 channel_id = %d and ( mid = '%s' or parent_mid = '%s' ) limit 1",
intval(local_channel()),