aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Problem.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index c1ecd6576..2836f6c92 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -246,7 +246,7 @@ sub get_photo_params {
my $photo = {};
( $photo->{width}, $photo->{height} ) =
Image::Size::imgsize( \$self->photo );
- $photo->{url} = '/photo/?id=' . $self->id;
+ $photo->{url} = '/photo?id=' . $self->id;
return $photo;
}