We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78302bc commit 40e1937Copy full SHA for 40e1937
administrator/modules/mod_submenu/Menu/Menu.php
@@ -167,11 +167,11 @@ public static function preprocess($parent)
167
168
if ($iconImage)
169
{
170
- if (substr($iconImage, 0, 6) == 'class:' && substr($iconImage, 6) == 'icon-home')
+ if (substr($iconImage, 0, 6) === 'class:' && substr($iconImage, 6) === 'icon-home')
171
172
$iconImage = '<span class="home-image icon-featured"></span>';
173
}
174
- elseif (substr($iconImage, 0, 6) == 'image:')
+ elseif (substr($iconImage, 0, 6) === 'image:')
175
176
$iconImage = ' <span class="badge badge-secondary">' . substr($iconImage, 6) . '</span>';
177
0 commit comments