[BUGFIX] Followup: Replace shortcut item icons with sprites 23/34723/2
authorFrans Saris <franssaris@gmail.com>
Fri, 28 Nov 2014 07:41:22 +0000 (08:41 +0100)
committerFrank Nägler <typo3@naegler.net>
Sat, 29 Nov 2014 14:30:54 +0000 (15:30 +0100)
commit023945fc83474f7f85c55f770fde127c5cec1670
tree750b8589066c89b62171b99324b62f5553981d02
parent908dbb4aab079a0e558e591b180c370df1a2d6fe
[BUGFIX] Followup: Replace shortcut item icons with sprites

If a the linked record of a shortcut is deleted you get a Fatal error
that breaks the BE.

This patch makes sure that the correct variable types are used for
IconUtility::getSpriteIconForRecord()

Resolves: #63319
Releases: master
Change-Id: Ia7aa5237b24c0190ad87b9353f29735682cb5ebb
Reviewed-on: http://review.typo3.org/34723
Reviewed-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Tested-by: Andreas Fernandez <andreas.fernandez@aspedia.de>
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php