cakephp/cakephp — pull request #4573 by antograssiot (2014-09-10 15:46:10+00:00)
Title: 3.0 update hasError() - fix#4563

This pull request is related to #4563.

When validating file the
```php
errors =
[	'name' => null,
'tmp_name' => null,
'error' => null,
'type' => null,
'size' => null
]]);
```

This causes FormHelper to add a div the 5 empty `
` has shown on the bug report.