added missing parens.

This commit is contained in:
Taylor Otwell
2011-10-02 22:46:34 -05:00
parent 16575246af
commit 7be960fb6f

View File

@@ -287,7 +287,7 @@ class Validator {
$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));
}
/**