aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-05-07 07:29:45 -0400
committerAndrew Manning <tamanning@zoho.com>2017-05-07 07:29:45 -0400
commit6576f9c0c3727d7c1543b168c7578a24b64e9184 (patch)
treeb3b43af694cb9f7fbfdfcabf1be4436cd9103dbe /include
parent00b19ccee0db5fd628c4959ac665234395a92989 (diff)
downloadvolse-hubzilla-6576f9c0c3727d7c1543b168c7578a24b64e9184.tar.gz
volse-hubzilla-6576f9c0c3727d7c1543b168c7578a24b64e9184.tar.bz2
volse-hubzilla-6576f9c0c3727d7c1543b168c7578a24b64e9184.zip
Mail message mimetype was getting set as the subject due to wrong variable set order.
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 b56f98238..4e8e44adc 100644
--- a/include/message.php
+++ b/include/message.php
@@ -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),