[BUGFIX] Remove PHP warnings when no icon is found in FormEngine 16/32616/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:11:47 +0000 (22:11 +0200)
commitf2d2ca5fea1eaa172721c3e39f51d3e2a5ea81f0
tree06d63292dd716b51bcc6bc72fb24d009e409e8d6
parentdd6c663070e4510b6fe6f28b9a12ce3c5be43cd2
[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/32616
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Classes/Form/FormEngine.php