Permalink
Browse files

Correct check of the coverage of specific lines

  • Loading branch information...
1 parent 9dfe3cd commit a812bfb6a65fa04ae65d7eda199862d8f8a64f41 @saltybeagle saltybeagle committed Aug 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 www/CoverageAnalyzer/templates/SourceFile.tpl.php
View
2 www/CoverageAnalyzer/templates/SourceFile.tpl.php
@@ -24,7 +24,7 @@
}
echo '<span ';
- $cov = is_object($coverage) ? $coverage['coverage'] : $coverage;
+ $cov = is_array($coverage) ? $coverage['coverage'] : $coverage;
if ($cov === -2) {
echo 'class="dead">';
echo ' ';

0 comments on commit a812bfb

Please sign in to comment.