diff options
author | matthew <matthew> | 2008-07-09 12:02:38 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-07-09 12:02:38 +0000 |
commit | fe011d1a14a75c59ba92e3a9e997db7022645316 (patch) | |
tree | 978253f7432f2a0d27eb20431c6c8373de6a09af | |
parent | c74f8418593bfd4beb9b2abee9a8d168d567fcb3 (diff) |
As script is held in memory, need to regenerate each time.
-rwxr-xr-x | web/reports.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/reports.cgi b/web/reports.cgi index fb23396a2..503b85677 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.18 2008-05-23 09:53:10 matthew Exp $ +# $Id: reports.cgi,v 1.19 2008-07-09 12:02:38 matthew Exp $ use strict; use Standard; @@ -136,7 +136,7 @@ sub main { foreach my $row (@$problem) { if (!$row->{council}) { # Problem was not sent to any council, add to possible councils - while ($row->{areas} =~ /,($re_councils)(?=,)/go) { + while ($row->{areas} =~ /,($re_councils)(?=,)/g) { add_row($row, 0, $1, \%fixed, \%open); } } else { |