diff options
author | matthew <matthew> | 2007-05-11 09:45:03 +0000 |
---|---|---|
committer | matthew <matthew> | 2007-05-11 09:45:03 +0000 |
commit | 399799b0932ba64e8fb2c056ea32a78384ed0cc8 (patch) | |
tree | b073c5be77819f241ef3671e275baa6c6bbc7a41 | |
parent | aae7e577a155b93201bb8695ea3f7ae7d758858e (diff) |
Rollback, something strange happened.
-rwxr-xr-x | web/report.cgi | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web/report.cgi b/web/report.cgi index ab53fa9a2..228374be2 100755 --- a/web/report.cgi +++ b/web/report.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: report.cgi,v 1.22 2007-05-11 09:20:50 matthew Exp $ +# $Id: report.cgi,v 1.23 2007-05-11 09:45:03 matthew Exp $ use strict; require 5.8.0; @@ -57,7 +57,10 @@ sub main { ", @params); my $fourweeks = 4*7*24*60*60; foreach my $row (@$problem) { - my ($council, $missing) = $row->{council} =~ /^(.*?)\|(.*)$/; + my $council = $row->{council}; + $council =~ s/\|.*//; + my $missing; + # my ($council, $missing) = $row->{council} =~ /^(.*?)\|(.*)$/; my @council = split /,/, $council; my $type = ($row->{duration} > 2 * $fourweeks) ? 'unknown' |