Commit 86a5fd07 authored by kapv89's avatar kapv89

Changed a line which causes "illegal string offset" error to be thrown in...

Changed a line which causes "illegal string offset" error to be thrown in php5.4 on trying to access $value['tmp_name']
parent 639d64c5
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment