diff --git a/app/Models/Setting.php b/app/Models/Setting.php index e58001f5b..0c3587977 100755 --- a/app/Models/Setting.php +++ b/app/Models/Setting.php @@ -218,6 +218,7 @@ class Setting extends Model */ public static function fileSizeConvert($bytes): string { + $result = 0; $bytes = floatval($bytes); $arBytes = [ 0 => [