Skip to content

Commit

Permalink
ConnectionPanel: fixed displaying 0 time
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik authored and hrach committed Sep 27, 2015
1 parent 26ac076 commit a939c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/NetteTracy/ConnectionPanel.tab.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ namespace Nextras\Dbal\Bridges\NetteTracy;
</svg>
<span class="tracy-label">
<?php echo $count ?>
<?php echo $totalTime ? sprintf('/ %0.1f ms', $totalTime * 1000) : '' ?>
<?php echo $totalTime !== NULL ? sprintf('/ %0.1f ms', $totalTime * 1000) : '' ?>
</span>
</span>

0 comments on commit a939c94

Please # to comment.