fixed oconly81 terrain sums

This commit is contained in:
following
2013-08-03 14:36:49 +02:00
parent ac1464cfba
commit f9a0cea915
2 changed files with 2 additions and 1 deletions
@@ -149,6 +149,7 @@
regionstat=$oconly_regionstat}
<tr><td class="spacer"></td></tr>
<tr><td class="spacer"></td></tr>
{if $show_oconly81}
<tr><td colspan="3">
+1 -1
View File
@@ -259,7 +259,7 @@
{
$stat81[$r['difficulty']][$r['terrain']] = $r['count'];
$maxcount = max($maxcount, $r['count']);
$tsum[$r['difficulty']] += $r['count'];
$tsum[$r['terrain']] += $r['count'];
}
sql_free_result($rs);
$tpl->assign('stat81',$stat81);