[BUGFIX] Fix broken language flags via IconUtility::getSpriteIcon 61/49161/4
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 22 Jul 2016 08:03:10 +0000 (10:03 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Aug 2016 17:57:47 +0000 (19:57 +0200)
commit3c47cec708903f59f85b945c7cd183aaece56e0e
tree24333a5afb7c904354c4d68c98d45c7794741774
parent0c449ce15991b2874174d491f9018ecc98ee9f14
[BUGFIX] Fix broken language flags via IconUtility::getSpriteIcon

With #70477 the SpriteIcon stuff has been marked as deprecated.
The patch removed the flags support. This patch fix the problem by checking
the IconRegisty and return the icon by using the IconFactory.

Resolves: #76996
Related: #70477
Releases: 7.6
Change-Id: I0323c6bc132eb9a8049294ee66ac3cf37d10f9fd
Reviewed-on: https://review.typo3.org/49161
Reviewed-by: Thomas Mayer <thomas.mayer@2bis10.de>
Tested-by: Thomas Mayer <thomas.mayer@2bis10.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Utility/IconUtility.php