[BUGFIX] Remove PHP warnings when no icon is found in FormEngine 25/32625/2
authorBenjamin Mack <benni@typo3.org>
Sun, 7 Sep 2014 15:24:28 +0000 (17:24 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sun, 7 Sep 2014 20:12:51 +0000 (22:12 +0200)
commit6d0ffc87a582cdc9d51df4e62c373f35ae4d6937
treecbf32c63ae7bc219819e74fb131200da3459a583
parent28479486dd1e19f8d24c98439c59405ffc65ca42
[BUGFIX] Remove PHP warnings when no icon is found in FormEngine

If running in development mode and an icon
in FormEngine is not found, TYPO3 shows
the PHP E_WARNING of getimagesize() in a flash message.

The check should therefore be done in a cleaner way,
without the @ symbol.

Releases: 6.3, 6.2
Resolves: #61394
Change-Id: I546faee95bf304e135709c3e1c95292f48daf3d7
Reviewed-on: http://review.typo3.org/32625
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Form/FormEngine.php