extra encoding on mail titles

This commit is contained in:
redmatrix
2015-08-20 01:12:35 -07:00
parent 419b4ecfde
commit 5786fd2221
2 changed files with 2 additions and 2 deletions

View File

@@ -1305,7 +1305,7 @@ function theme_attachments(&$item) {
$title = htmlspecialchars($r['title'], ENT_COMPAT,'UTF-8');
if(! $title)
$title = t('unknown.???');
$title .= ' ' . $r['length'] . ' ' . t('bytes');
$title .= ' ' . (($r['length']) ? $r['length'] . ' ' . t('bytes') : '');
require_once('include/identity.php');
if(is_foreigner($item['author_xchan']))