Browse Source

Merge branch 'master' into staging

Taylor Otwell 12 years ago
parent
commit
9114d2a033
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/validator.php

+ 1 - 1
laravel/validator.php

@@ -249,7 +249,7 @@ class Validator {
 		{
 			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;
 		}