wrong logic
This commit is contained in:
parent
dc6a594277
commit
138c14d43f
@ -1218,7 +1218,7 @@ function theme_attachments(&$item) {
|
|||||||
foreach($arr as $r) {
|
foreach($arr as $r) {
|
||||||
|
|
||||||
$icon = getIconFromType($r['type']);
|
$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'));
|
$title = t('Attachment') . ' - ' . (($r['length']) ? userReadableSize($r['length']) : t('Size Unknown'));
|
||||||
|
|
||||||
require_once('include/identity.php');
|
require_once('include/identity.php');
|
||||||
|
Reference in New Issue
Block a user