aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-08-03 14:08:34 +0200
committergit-marijus <mario@mariovavti.com>2017-08-03 14:08:34 +0200
commitdc7c3f70ebff3220fa4586a36034476f56ea6481 (patch)
treef4078ec7803209469827e01c387544758a2246c3 /Zotlabs/Module
parent4ea4a036ef7ffbfc03422160c97b613eb9a8fc37 (diff)
downloadvolse-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/Module')
-rw-r--r--Zotlabs/Module/Mail.php2
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();
}