added missing parens.
This commit is contained in:
parent
16575246af
commit
7be960fb6f
|
@ -287,7 +287,7 @@ protected function get_size($attribute)
|
|||
|
||||
$files = IoC::container()->resolve('laravel.input')->file();
|
||||
|
||||
return (array_key_exists($attribute, $files) ? $value['size'] / 1024 : Str::length(trim($value));
|
||||
return (array_key_exists($attribute, $files)) ? $value['size'] / 1024 : Str::length(trim($value));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue