Преглед изворни кода

fixed V::humanFileSize to static

Piotr Labudda пре 9 година
родитељ
комит
2d333d9dc2
1 измењених фајлова са 1 додато и 1 уклоњено
  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)),