From f7f4672649ee6867175fa0f436408f75dcdf4841 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 28 Nov 2014 08:47:45 +0100 Subject: [PATCH] Fix regression in rcmail::show_bytes() where unit was set to "[]" instead of "B" --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;