Merge pull request #725 from kapv89/patch-1

Changed a line which causes "illegal string offset" error to be thrown i...
This commit is contained in:
Taylor Otwell 2012-05-30 06:25:29 -07:00
commit aa687d039d
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ protected function validate_required($attribute, $value)
{ {
return false; return false;
} }
elseif ( ! is_null(Input::file($attribute)) and $value['tmp_name'] == '') elseif ( ! is_null(Input::file($attribute)) and is_array($value) and $value['tmp_name'] == '')
{ {
return false; return false;
} }