aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/admin/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/admin/index.html')
-rw-r--r--templates/web/default/admin/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/admin/index.html b/templates/web/default/admin/index.html
index 85b8c264f..59722a5ed 100644
--- a/templates/web/default/admin/index.html
+++ b/templates/web/default/admin/index.html
@@ -12,7 +12,7 @@
<ul>
<li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %]</li>
- <li>[% tprintf( loc('%d live updates'), comments.confirmed ) %]</li>
+ <li>[% tprintf( loc('%d live updates'), comments.confirmed || 0 ) %]</li>
<li>[% tprintf( loc('%d confirmed alerts, %d unconfirmed'), alerts.1, alerts.0) %]</li>
<li>[% tprintf( loc('%d questionnaires sent &ndash; %d answered (%s%%)'), questionnaires.total, questionnaires.1, questionnaires_pc) %]</li>
<li>[% tprintf( loc('%d council contacts &ndash; %d confirmed, %d unconfirmed'), contacts.total, contacts.1, contacts.0) %]</li>