aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-26 19:57:20 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-26 19:57:20 +0100
commit2255555673e31b28b239fb7d83aca2b44f46c885 (patch)
tree6c2c061913f40f114b64488bbacb21d9440312d6 /perllib/FixMyStreet/DB/Result/Problem.pm
parentefc53f171be30edc9995762cad949eda01294e96 (diff)
Photo URL fix, and pass through photo ID for updates as it does for problems/questionnaires.
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;
}