diff options
author | git-marijus <mario@mariovavti.com> | 2017-08-03 14:08:34 +0200 |
---|---|---|
committer | git-marijus <mario@mariovavti.com> | 2017-08-03 14:08:34 +0200 |
commit | dc7c3f70ebff3220fa4586a36034476f56ea6481 (patch) | |
tree | f4078ec7803209469827e01c387544758a2246c3 /Zotlabs | |
parent | 4ea4a036ef7ffbfc03422160c97b613eb9a8fc37 (diff) | |
download | volse-hubzilla-dc7c3f70ebff3220fa4586a36034476f56ea6481.tar.gz volse-hubzilla-dc7c3f70ebff3220fa4586a36034476f56ea6481.tar.bz2 volse-hubzilla-dc7c3f70ebff3220fa4586a36034476f56ea6481.zip |
return preview also if we have no attachment
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Mail.php b/Zotlabs/Module/Mail.php index 7e6ec0cf9..e5509961a 100644 --- a/Zotlabs/Module/Mail.php +++ b/Zotlabs/Module/Mail.php @@ -53,8 +53,8 @@ class Mail extends \Zotlabs\Web\Controller { } $body = trim(str_replace($match[1],'',$body)); } - echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]); } + echo json_encode(['preview' => zidify_links(smilies(bbcode($body)))]); } killme(); } |