We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09227f3 commit 65906adCopy full SHA for 65906ad
src/Contao/Widgets/MultiColumnWizard.php
@@ -1766,10 +1766,11 @@ protected function generateButtonString($level = 0)
1766
1767
$btnName = \sprintf('tw_r%s', StringUtil::specialchars($button));
1768
// Get a fallback icon if not found in the core.
1769
- if ('' === ($icon
1770
- = Image::getHtml($image, $GLOBALS['TL_LANG']['MSC'][$btnName], 'class="tl_listwizard_img"'))) {
1771
- $icon
1772
- = Image::getHtml(
+ if (
+ '' === ($icon
+ = Image::getHtml($image, $GLOBALS['TL_LANG']['MSC'][$btnName], 'class="tl_listwizard_img"'))
+ ) {
1773
+ $icon = Image::getHtml(
1774
'bundles/multicolumnwizard/img/' . $image,
1775
$GLOBALS['TL_LANG']['MSC'][$btnName],
1776
'class="tl_listwizard_img"'
0 commit comments