Explorar el Código

fixed V::humanFileSize to static

Piotr Labudda hace 9 años
padre
commit
2d333d9dc2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/V.php

+ 1 - 1
SE/se-lib/V.php

@@ -416,7 +416,7 @@ EOF';
 		return $arr;
 	}
 
-	public function humanFileSize($bytes) {
+	public static function humanFileSize($bytes) {
 		$bytes = intval($bytes);
 		$arBytes = array(
 			0 => array("UNIT" => "TB", "VALUE" => pow(1024, 4)),