aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-07 21:11:25 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-07 21:11:25 +0000
commit61f36cfb38ba19943cf911b0fe51a20ad3b55808 (patch)
tree150ea58c3e8d56ca29771851167857a5f6ee0dd1 /web
parent575bb55184d5ff4304b4a8e9b70e5cec3266b031 (diff)
migrate recent_photos and where it is used
Diffstat (limited to 'web')
-rwxr-xr-xweb/alert.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/alert.cgi b/web/alert.cgi
index 71249759e..3c04bf306 100755
--- a/web/alert.cgi
+++ b/web/alert.cgi
@@ -205,7 +205,7 @@ for the county council.'))) . '</div><div id="rss_buttons">';
my $checked = '';
$checked = ' checked' if $q->param('feed') && $q->param('feed') eq "local:$e:$n";
my $cobrand_form_elements = Cobrand::form_elements($cobrand, 'alerts', $q);
- my $pics = Cobrand::recent_photos($cobrand, 5, $e, $n, $dist);
+ my $pics = Cobrand::recent_photos($cobrand, 5, $lat, $lon, $dist);
$pics = '<div id="alert_photos">' . $q->h2(_('Photos of recent nearby reports')) . $pics . '</div>' if $pics;
my $header;
if ($pretty_pc) {