[BUGFIX] Check if validationrules are set before foreach statement 46/38846/2
authorRuud <ruudsilvrants@gmail.com>
Tue, 21 Apr 2015 09:21:47 +0000 (11:21 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Tue, 21 Apr 2015 10:10:17 +0000 (12:10 +0200)
commitf389be55b1463567a8d1bd319567760b2e29d93d
tree4593314630c2097dc8ef27eba07d8dd0ce5d58bd
parent8f08b50ef6fd1e7f21c9149cca7c62ea975a371a
[BUGFIX] Check if validationrules are set before foreach statement

The ValidationUtility now checks if there are any rules set,
before trying to use the variable in the foreach loop.

Resolves: #66508
Releases: master, 6.2
Change-Id: I201986d88666d8de8a84de6581d2ea06da7374c2
Reviewed-on: http://review.typo3.org/38846
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/form/Classes/Utility/ValidatorUtility.php