mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-12-24 19:30:24 +00:00
SE1 was not showing ok message if every folder was containing index.html files
This commit is contained in:
parent
ab27c25ccb
commit
303257082f
@ -24,7 +24,7 @@ class jedcheckerRulesHtmlindexes {
|
||||
$indexes = array_replace($this->folders, $this->indexes);
|
||||
|
||||
echo '<span class="rule">'.JText::_('COM_JEDCHECKER_RULE_SE1') . '</span><br />';
|
||||
if(count($indexes)) {
|
||||
if(count($indexes) && in_array(false, $indexes)) {
|
||||
foreach($indexes as $key => $index) {
|
||||
if(!$index) {
|
||||
echo $key . '<br />';
|
||||
|
Loading…
Reference in New Issue
Block a user