diff options
author | matthew <matthew> | 2009-02-24 10:42:56 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-02-24 10:42:56 +0000 |
commit | a3fa20b803657fb5d7c393aaa2634f01193cc72b (patch) | |
tree | a169dcebeb8c9d4ba0070460acae0761bc7d974f | |
parent | 9776b59f4f8a89d0397d1267a5cc7c919606008f (diff) |
Fixed needs a comma now too.
-rwxr-xr-x | web/index.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/index.cgi b/web/index.cgi index ea7053d79..fb6e0db45 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.244 2009-02-24 10:41:14 matthew Exp $ +# $Id: index.cgi,v 1.245 2009-02-24 10:42:56 matthew Exp $ use strict; use Standard; @@ -118,6 +118,7 @@ EOF } $out .= '<p id="error">' . $error . '</p>' if ($error); my $fixed = Problems::recent_fixed(); + $fixed =~ s/(?<=\d)(?=(?:\d\d\d)+$)/,/g; my $updates = Problems::number_comments(); $updates =~ s/(?<=\d)(?=(?:\d\d\d)+$)/,/g; my $new = Problems::recent_new('1 week'); |