aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2007-09-25 11:55:05 +0000
committermatthew <matthew>2007-09-25 11:55:05 +0000
commit5da4df1736d4ecaf46f159b34672ddbae0a0ab1b (patch)
tree40c24b474f756fce0cbfb208c7af2df5ea2d0752
parent5e0e6101d09c6224fafc82e6c90a485dc29e3c30 (diff)
Typos.
-rwxr-xr-xweb/alert.cgi4
-rwxr-xr-xweb/index.cgi4
2 files changed, 4 insertions, 4 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index 39754826f..ed66841df 100755
--- a/web/alert.cgi
+++ b/web/alert.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: alert.cgi,v 1.19 2007-09-25 11:53:04 matthew Exp $
+# $Id: alert.cgi,v 1.20 2007-09-25 11:55:05 matthew Exp $
use strict;
use Standard;
@@ -154,7 +154,7 @@ but will only appear in the "Within the boundary" alert for the county council.'
$checked = ' checked' if $q->param('feed') && $q->param('feed') eq "local:$x:$y";
my $pics = Page::recent_photos(5, $e, $n, $dist);
- $out .= '<div id="alert_photos"><h2>Photos of recent nearby reports</h2>' . $pics . '</div>' if $pics;
+ $pics = '<div id="alert_photos"><h2>Photos of recent nearby reports</h2>' . $pics . '</div>' if $pics;
<<EOF;
<h1>Local RSS feeds and email alerts for &lsquo;$input_h{pc}&rsquo;</h1>
diff --git a/web/index.cgi b/web/index.cgi
index c2134b511..5778022e8 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.166 2007-09-25 11:53:04 matthew Exp $
+# $Id: index.cgi,v 1.167 2007-09-25 11:55:05 matthew Exp $
use strict;
use Standard;
@@ -139,7 +139,7 @@ EOF
my $recent_photos = Page::recent_photos(3);
$out .= "<h2>Photos of recent reports</h2>$recent_photos" if $recent_photos;
- $probs = select_all("select id,title from problem
+ my $probs = select_all("select id,title from problem
where state in ('confirmed', 'fixed')
order by confirmed desc limit 5");
$out .= '<h2>Recently reported problems</h2> <ul>' if @$probs;