diff --git a/source/administrator/components/com_jedchecker/models/report.php b/source/administrator/components/com_jedchecker/models/report.php index d1f9eba..56b0378 100644 --- a/source/administrator/components/com_jedchecker/models/report.php +++ b/source/administrator/components/com_jedchecker/models/report.php @@ -161,7 +161,7 @@ class JEDcheckerReport extends JObject public function getHTML() { $html = array(); - + if ($this->data['count']->total == 0) { // No errors or compatibility issues found @@ -179,8 +179,10 @@ class JEDcheckerReport extends JObject // Go through the error list if ($error_count > 0) { - $html[] = '' . $error_count . ' ' . JText::_('COM_JEDCHECKER_ERRORS') . ''; - $html[] = ''; } // Go through the compat list if ($compat_count > 0) { - $html[] = '' . $compat_count . ' ' . JText::_('COM_JEDCHECKER_COMPAT_ISSUES') . ''; - $html[] = ''; } // Go through the compat list if ($info_count > 0) { - $html[] = '' . $info_count . ' ' . JText::_('COM_JEDCHECKER_INFO') . ''; - $html[] = ''; } // Go through the warning list if ($warning_count > 0) { - $html[] = '' . $warning_count . ' ' . JText::_('COM_JEDCHECKER_WARNING') . ''; - $html[] = ''; } }