[BUGFIX] Fix display logic of ShortcutButton 31/44031/2
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Tue, 13 Oct 2015 12:20:56 +0000 (14:20 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 13 Oct 2015 12:30:21 +0000 (14:30 +0200)
commit152c20e9f105c89bb21b7cb4bc3396abcf316419
tree56207918af7f93032d69f689293e5c9b75d214f8
parent25c495023129cfc52a919cc84765726574a2ab7d
[BUGFIX] Fix display logic of ShortcutButton

Just because a user may not store shortcuts it seems a bit drastic to
declare the button invalid thus triggering an exception.
This has been fixed now.

Resolves: #70651
Releases: master
Change-Id: I8f8848501926c8c7a9445e0d59b3ff865d005791
Reviewed-on: http://review.typo3.org/44031
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Allacher <andreas.allacher@gmx.at>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Andreas Allacher <andreas.allacher@gmx.at>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Template/Components/Buttons/Action/ShortcutButton.php