[BUGFIX] Check if validationrules are set before foreach statement 43/38843/3
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:12:06 +0000 (12:12 +0200)
commitf3d846b0d7606589fd25ea05588ad2bca93c9f26
treea33b7a2dcd5e7b0e26033ebeda257eea91c60e0c
parentbb24c55ee52a0d2c31ff96e9ef82a483e5aeaa86
[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/38843
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/form/Classes/Utility/ValidatorUtility.php