aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-22 17:29:57 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-22 17:29:57 +0100
commit3aa48b3e93fa9388124550ede902b280beae7b33 (patch)
tree91aadc792e84d677792badbaa527c3147754b1f7
parent6ab27d6be43abfbfdbdb95b03b249d04a47a912f (diff)
use correct photo url
-rw-r--r--perllib/FixMyStreet/DB/ResultSet/Problem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/Problem.pm b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
index 8ec68a440..a7738becf 100644
--- a/perllib/FixMyStreet/DB/ResultSet/Problem.pm
+++ b/perllib/FixMyStreet/DB/ResultSet/Problem.pm
@@ -262,7 +262,7 @@ sub send_reports {
$h{phone_line} = $h{phone} ? _('Phone:') . " $h{phone}\n\n" : '';
if ($row->photo) {
$h{has_photo} = _("This web page also contains a photo of the problem, provided by the user.") . "\n\n";
- $h{image_url} = $email_base_url . '/photo?id=' . $row->id;
+ $h{image_url} = $email_base_url . '/photo/' . $row->id . '.full.jpeg';
} else {
$h{has_photo} = '';
$h{image_url} = '';