Skip to content

Commit

Permalink
Displaying the correct tip in Global Configuration Permissions (#13143)
Browse files Browse the repository at this point in the history
* Displaying the correct tip in Global Configuration Permissions

* simplification
  • Loading branch information
infograf768 authored and rdeutz committed Dec 9, 2016
1 parent a01a3a0 commit 375897a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/form/fields/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ protected function getInput()
$html[] = '<div class="clr"></div>';
$html[] = '<div class="alert">';

if ($section === 'component' || $section === null)
if ($section === 'component' || !$section)
{
$html[] = JText::_('JLIB_RULES_SETTING_NOTES');
}
Expand Down

0 comments on commit 375897a

Please sign in to comment.