added missing parens.

This commit is contained in:
Taylor Otwell 2011-10-02 22:46:34 -05:00
parent 16575246af
commit 7be960fb6f
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ protected function get_size($attribute)
$files = IoC::container()->resolve('laravel.input')->file(); $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));
} }
/** /**