dever %!s(int64=4) %!d(string=hai) anos
pai
achega
6293178ff3
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      lib/Store/Core.php

+ 2 - 1
lib/Store/Core.php

@@ -211,7 +211,8 @@ class Core
 		        }
 		        
 		        $size = strlen($file);
-		        $size = number_format(($size - ($size/8)*2)/1024, 2);
+		        //$size = number_format(($size - ($size/8)*2)/1024, 2);
+		        $size = round(($size - ($size/8)*2)/1024, 2);
 		        $this->base64 = true;
 			} else {
 				$name = urldecode($this->data['file']);