aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-06-17 08:08:14 +0000
committerMario <mario@mariovavti.com>2021-06-17 08:08:14 +0000
commite79a27c654589ed2ab3b3f2c1a6b603e2e642ad9 (patch)
tree02bf0d82b53f74033fde35e10c1523712958ead4
parent2f0bac8ddfc6286f69931a2164f99fea87d2146d (diff)
downloadvolse-hubzilla-e79a27c654589ed2ab3b3f2c1a6b603e2e642ad9.tar.gz
volse-hubzilla-e79a27c654589ed2ab3b3f2c1a6b603e2e642ad9.tar.bz2
volse-hubzilla-e79a27c654589ed2ab3b3f2c1a6b603e2e642ad9.zip
just use ... as preview if we could not wind anything useful
-rw-r--r--Zotlabs/Widget/Messages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php
index 6117bfa73..a03238c9a 100644
--- a/Zotlabs/Widget/Messages.php
+++ b/Zotlabs/Widget/Messages.php
@@ -98,7 +98,7 @@ class Messages {
$summary = htmlentities(html2plain(bbcode($item['body']), 75, true), ENT_QUOTES, 'UTF-8', false);
}
if (!$summary) {
- $summary = t('Sorry, there is no text preview available for this post');
+ $summary = '...';
}
$summary = substr_words($summary, 68);