Skip to content

Commit

Permalink
Get the raw coverage instead of a proxied object. We're handling the
Browse files Browse the repository at this point in the history
html escaping manually here.
  • Loading branch information
saltybeagle committed Jul 26, 2011
1 parent 4d24344 commit c7c6f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/CoverageAnalyzer/templates/SourceFile.tpl.php
Expand Up @@ -13,7 +13,7 @@
<pre>
<?php foreach ($context->source() as $num => $line):

$coverage = $context->coverage($num);
$coverage = $context->getRawObject()->coverage($num);
echo '<span class="ln">';
echo str_pad($num, 8, ' ', STR_PAD_LEFT);
echo '</span>';
Expand Down

0 comments on commit c7c6f4c

Please sign in to comment.