diff --git a/public/templates/test/statistics/blocks/default.tpl b/public/templates/test/statistics/blocks/default.tpl index d0bbb186..b1cc4b4d 100644 --- a/public/templates/test/statistics/blocks/default.tpl +++ b/public/templates/test/statistics/blocks/default.tpl @@ -92,7 +92,7 @@ Totals {$totalexpectedshares|number_format} {$totalshares|number_format} - {($totalpercentage / $count)|number_format:"2"} + {if $count > 0}{($totalpercentage / $count)|number_format:"2"}{else}0{/if}