diff options
author | Struan Donald <struan@exo.org.uk> | 2012-04-25 11:26:26 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-04-25 11:26:26 +0100 |
commit | 32040ddff57d81a36b7843e0d5a0a5931972f6e9 (patch) | |
tree | 580cf9470a3b48cb9ff78cb6733a9dd41220b278 /perllib/FixMyStreet/App/Controller/Alert.pm | |
parent | 50a656d612a4594425d78237efdc4c1cc2cbae83 (diff) | |
parent | c84e7651e0c8a888495205ad1c19b7f3e89f95ea (diff) |
Merge remote-tracking branch 'origin/bromley' into bromley
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index 2698c6ac0..c127b7460 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -470,6 +470,7 @@ sub add_recent_photos : Private { { $c->stash->{photos} = $c->cobrand->recent_photos( + 'alert', $num_photos, $c->stash->{latitude}, $c->stash->{longitude}, @@ -477,7 +478,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; |