aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-02-28 19:57:52 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-02-28 19:57:52 +0000
commitda966fed65f87807ecc6d4b003933fa2c5475fb7 (patch)
tree699b1a14352edaf346694c799151dd34e61f8f11 /phpBB/includes/functions_content.php
parenta765c1aba14ee49801f43897cd90a69dcee7c3ca (diff)
downloadforums-da966fed65f87807ecc6d4b003933fa2c5475fb7.tar
forums-da966fed65f87807ecc6d4b003933fa2c5475fb7.tar.gz
forums-da966fed65f87807ecc6d4b003933fa2c5475fb7.tar.bz2
forums-da966fed65f87807ecc6d4b003933fa2c5475fb7.tar.xz
forums-da966fed65f87807ecc6d4b003933fa2c5475fb7.zip
#22355 and #22365
git-svn-id: file:///svn/phpbb/trunk@8421 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 8d4a75e2f7..92ae9ceb79 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -823,7 +823,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']));