aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2007-08-24 23:48:47 +0000
committermatthew <matthew>2007-08-24 23:48:47 +0000
commit75bedb08f7ca2d05f457a0c0c156da6762ee5003 (patch)
tree6dbdadc573ef0ba5258de6f052229445dcde6709
parent1f4e5bfbaa5e21d99d7f3519d3c4e1a8f7c5a24e (diff)
Nope, was right before.
-rwxr-xr-xweb/reports.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/reports.cgi b/web/reports.cgi
index 65d5122a9..9bc8ccf05 100755
--- a/web/reports.cgi
+++ b/web/reports.cgi
@@ -7,7 +7,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: reports.cgi,v 1.7 2007-08-24 23:47:40 matthew Exp $
+# $Id: reports.cgi,v 1.8 2007-08-24 23:48:47 matthew Exp $
use strict;
require 5.8.0;
@@ -236,7 +236,7 @@ sub summary_cell {
sub list_problems {
my ($title, $problems, $all) = @_;
- return unless @$problems;
+ return unless $problems;
print "<h3>$title</h3>\n<ul>";
foreach (@$problems) {
print '<li><a href="/?id=' . $_->[0] . '">';