From f7f4672649ee6867175fa0f436408f75dcdf4841 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 28 Nov 2014 02:47:45 -0500
Subject: [PATCH] Fix regression in rcmail::show_bytes() where unit was set to "[]" instead of "B"
---
program/include/rcmail.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index f0c3631..27ec831 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2192,7 +2192,7 @@
}
else {
$unit = 'B';
- $str = sprintf('%d ', $bytes) . $this->gettext();
+ $str = sprintf('%d ', $bytes) . $this->gettext($unit);
}
return $str;
--
Gitblit v1.9.1