summaryrefslogtreecommitdiffstats
path: root/application/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'application/helpers')
-rw-r--r--application/helpers/filebin_helper.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/application/helpers/filebin_helper.php b/application/helpers/filebin_helper.php
index 3344e5ecf..05a136eb3 100644
--- a/application/helpers/filebin_helper.php
+++ b/application/helpers/filebin_helper.php
@@ -370,13 +370,13 @@ function files_are_equal($a, $b)
# Source: http://php.net/manual/en/function.ini-get.php#96996
function return_bytes($size_str)
{
- switch (substr ($size_str, -1))
- {
- case 'K': case 'k': return (int)$size_str * 1024;
- case 'M': case 'm': return (int)$size_str * 1048576;
- case 'G': case 'g': return (int)$size_str * 1073741824;
- default: return (int)$size_str;
- }
+ switch (substr ($size_str, -1))
+ {
+ case 'K': case 'k': return (int)$size_str * 1024;
+ case 'M': case 'm': return (int)$size_str * 1048576;
+ case 'G': case 'g': return (int)$size_str * 1073741824;
+ default: return (int)$size_str;
+ }
}
# vim: set noet: