aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-28 16:07:57 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-28 16:07:57 +0100
commit959012b397c40638eaa62cd911f416f605043330 (patch)
tree6fcfd0325d02f89c12a83ceaea39966dfa3b454d /perllib/FixMyStreet/App/Controller/Alert.pm
parentc86fb4cfa6fdf62c5d0ba968b6fda7eb46c3d027 (diff)
parent2e94d363be99e83a24ed7b14c6dd00480b9afc93 (diff)
Merge branch 'bromley'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index 4407e06ce..6e9ae819c 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -474,6 +474,7 @@ sub add_recent_photos : Private {
{
$c->stash->{photos} = $c->cobrand->recent_photos(
+ 'alert',
$num_photos,
$c->stash->{latitude},
$c->stash->{longitude},
@@ -481,7 +482,7 @@ sub add_recent_photos : Private {
);
}
else {
- $c->stash->{photos} = $c->cobrand->recent_photos($num_photos);
+ $c->stash->{photos} = $c->cobrand->recent_photos('alert', $num_photos);
}
return 1;