[BUGFIX] Do not render empty help button 55/44355/3
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Thu, 29 Oct 2015 14:15:42 +0000 (15:15 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Thu, 29 Oct 2015 14:34:38 +0000 (15:34 +0100)
commitd4d422d0ab2e767497578cfbbee5dc601be2c0e8
tree328f2b3b07ab0d4c78dd8132373c3698679dc892
parent8974fd23e7e6b4f1747c6e2a0adc11f24e4c2092
[BUGFIX] Do not render empty help button

Currently, if EXT:cshmanual is not installed, an empty help button
gets rendered. This patch changes the return value of
BackendUtility::wrapInHelp() and checks for an empty string in
HelpButton.

Resolves: #71129
Releases: master
Change-Id: Ifec1b1b6f1289223fc2a453b88267fce4fb2c5a5
Reviewed-on: https://review.typo3.org/44355
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Classes/Template/Components/Buttons/Action/HelpButton.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php