aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-02-28 19:55:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-02-28 19:55:46 +0000
commit3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa (patch)
tree47eb3d2bcf7e371c011d485a06a9d0d8cdf604f2 /phpBB/includes/functions_content.php
parent181cbcd625acf98cb55a2ef0dd11d0e72d19e122 (diff)
downloadforums-3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa.tar
forums-3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa.tar.gz
forums-3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa.tar.bz2
forums-3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa.tar.xz
forums-3aa3ea89f98b5bc2def149e9ecaf43bd3d3d1dfa.zip
#22355
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8420 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index f851309a1e..0d367f953f 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -822,7 +822,7 @@ function parse_attachments($forum_id, &$message, &$attachments, &$update_count,
}
$filesize = $attachment['filesize'];
- $size_lang = ($filesize >= 1048576) ? $user->lang['MB'] : ( ($filesize >= 1024) ? $user->lang['KB'] : $user->lang['BYTES'] );
+ $size_lang = ($filesize >= 1048576) ? $user->lang['MIB'] : (($filesize >= 1024) ? $user->lang['KIB'] : $user->lang['BYTES']);
$filesize = get_formatted_filesize($filesize, false);
$comment = bbcode_nl2br(censor_text($attachment['attach_comment']));