From 303257082fe6ecc159791f88c99ffdc58c8d4899 Mon Sep 17 00:00:00 2001 From: Daniel Dimitrov Date: Thu, 28 Jun 2012 09:39:00 +0200 Subject: [PATCH] SE1 was not showing ok message if every folder was containing index.html files --- .../components/com_jedchecker/libraries/rules/htmlindexes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/administrator/components/com_jedchecker/libraries/rules/htmlindexes.php b/source/administrator/components/com_jedchecker/libraries/rules/htmlindexes.php index 4312e66..7f2ac54 100644 --- a/source/administrator/components/com_jedchecker/libraries/rules/htmlindexes.php +++ b/source/administrator/components/com_jedchecker/libraries/rules/htmlindexes.php @@ -24,7 +24,7 @@ class jedcheckerRulesHtmlindexes { $indexes = array_replace($this->folders, $this->indexes); echo ''.JText::_('COM_JEDCHECKER_RULE_SE1') . '
'; - if(count($indexes)) { + if(count($indexes) && in_array(false, $indexes)) { foreach($indexes as $key => $index) { if(!$index) { echo $key . '
';