summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-11-28 08:47:45 +0100
committerAleksander Machniak <alec@alec.pl>2014-11-28 08:47:45 +0100
commitf7f4672649ee6867175fa0f436408f75dcdf4841 (patch)
treee178a52d9f7934d7e64e19c3be89f79b8b9ecb9d /program
parent61ca7956cc035ad6f537953dce9e719c83c43af8 (diff)
Fix regression in rcmail::show_bytes() where unit was set to "[]" instead of "B"
Diffstat (limited to 'program')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f0c363131..27ec831e6 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2192,7 +2192,7 @@ class rcmail extends rcube
}
else {
$unit = 'B';
- $str = sprintf('%d ', $bytes) . $this->gettext();
+ $str = sprintf('%d ', $bytes) . $this->gettext($unit);
}
return $str;