diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2011-05-03 07:37:31 +0200 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2011-05-03 07:37:31 +0200 |
commit | 3b2d60fcd9428d27c1b2c5ffc58e018bf376189b (patch) | |
tree | 2fbe410067139849d335a3716428409fb425a56c | |
parent | f46986f816f424f19de037c6c3f0e5aeeb7934b8 (diff) |
Avoid perl warning when no questionnaires are sent yet.
-rwxr-xr-x | web-admin/index.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-admin/index.cgi b/web-admin/index.cgi index 2a2cd445d..0ee61b516 100755 --- a/web-admin/index.cgi +++ b/web-admin/index.cgi @@ -154,7 +154,7 @@ sub admin_summary ($) { $q->li(sprintf(_("<strong>%d</strong> live problems"), $total_problems_live)), $q->li(sprintf(_("%d live updates"), $comments{confirmed})), $q->li(sprintf(_("%d confirmed alerts, %d unconfirmed"), $alerts{1}, $alerts{0})), - $q->li(sprintf(_("%d questionnaires sent – %d answered (%d%%)"), $questionnaires{total}, $questionnaires{1}, $questionnaires_pc)), + $q->li(sprintf(_("%d questionnaires sent – %d answered (%s%%)"), $questionnaires{total}, $questionnaires{1}, $questionnaires_pc)), $q->li(sprintf(_("%d council contacts – %d confirmed, %d unconfirmed"), $contacts{total}, $contacts{1}, $contacts{0})), ); |