This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Description
suggestion to make a simpler condition avoiding null variable
if (!$found && !$sessionFiles[$this->formFieldName]) {
$checkFailed = $this->getCheckFailed();
}
|
if (!$found && count($sessionFiles[$this->formFieldName]) === 0) { |
TYPO3 8.7
Core: Error handler (FE): PHP Warning: count(): Parameter must be an array or an object that implements Countable in /sites/gazvacancy/htdocs/typo3conf/ext/formhandler/Classes/Validator/ErrorCheck/FileRequired.php line 35