fix attachment rendering for mail

This commit is contained in:
Mario Vavti
2015-12-02 09:44:25 +01:00
parent 78e18fcdcf
commit 593423434c
4 changed files with 13 additions and 2 deletions

View File

@@ -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));
}
}