diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-15 15:48:13 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-15 15:48:13 +0200 |
commit | 138c14d43f7d0546201c2ad99225b94a80efd663 (patch) | |
tree | 14b701eaaadc7ab60486143a07c18c4e305961af /include | |
parent | dc6a594277cdf5f0393230c316864446a540a999 (diff) | |
download | volse-hubzilla-138c14d43f7d0546201c2ad99225b94a80efd663.tar.gz volse-hubzilla-138c14d43f7d0546201c2ad99225b94a80efd663.tar.bz2 volse-hubzilla-138c14d43f7d0546201c2ad99225b94a80efd663.zip |
wrong logic
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index fca674099..727ccad7f 100644 --- a/include/text.php +++ b/include/text.php @@ -1218,7 +1218,7 @@ function theme_attachments(&$item) { foreach($arr as $r) { $icon = getIconFromType($r['type']); - $label = (($r['title'] == '') ? urldecode(htmlspecialchars($r['title'], ENT_COMPAT, 'UTF-8')) : t('Unknown Attachment')); + $label = (($r['title'] != ' ' || $r['title'] != '') ? urldecode(htmlspecialchars($r['title'], ENT_COMPAT, 'UTF-8')) : t('Unknown Attachment')); $title = t('Attachment') . ' - ' . (($r['length']) ? userReadableSize($r['length']) : t('Size Unknown')); require_once('include/identity.php'); |