aboutsummaryrefslogtreecommitdiffstats
path: root/include/message.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
commit593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd (patch)
treec93fb653017a28e8ec6c24ea10ff14e24b67618c /include/message.php
parent78e18fcdcfaa879db1d7bf487c2e5de0e43e34b0 (diff)
downloadvolse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.gz
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.bz2
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.zip
fix attachment rendering for mail
Diffstat (limited to 'include/message.php')
-rw-r--r--include/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php
index 820d814b6..169f394d9 100644
--- a/include/message.php
+++ b/include/message.php
@@ -173,7 +173,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
'revision' => $r['data']['revision']
);
}
- $body = str_replace($match[1],'',$body);
+ $body = trim(str_replace($match[1],'',$body));
}
}