Mail message mimetype was getting set as the subject due to wrong variable set order.

This commit is contained in:
Andrew Manning 2017-05-07 07:29:45 -04:00
parent 00b19ccee0
commit 6576f9c0c3

View File

@ -200,8 +200,8 @@ function send_message($uid = 0, $recipient = '', $body = '', $subject = '', $rep
intval($channel['channel_id']),
dbesc($channel['channel_hash']),
dbesc($recipient),
dbesc($subject),
dbesc(($mimetype)? $mimetype : 'text/bbcode'),
dbesc($subject),
dbesc($body),
dbesc($sig),
dbesc($jattach),