Merge branch 'master' into staging
This commit is contained in:
commit
9114d2a033
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue