diff options
author | matthew <matthew> | 2008-09-19 10:24:55 +0000 |
---|---|---|
committer | matthew <matthew> | 2008-09-19 10:24:55 +0000 |
commit | 6708e7dd9b259207c613bb08b693d0ee5a1f2f0d (patch) | |
tree | 35d6c887c93a4a76e47400fa158dd35b58c32273 /perllib/Problems.pm | |
parent | 2b7fa24af368a4b66893fa5a26ff849807f5d427 (diff) |
Nicer URLs for reports.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index b1c81be94..2c01b456d 100644 --- a/perllib/Problems.pm +++ b/perllib/Problems.pm @@ -6,7 +6,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: Problems.pm,v 1.6 2008-09-17 21:40:44 matthew Exp $ +# $Id: Problems.pm,v 1.7 2008-09-19 10:24:55 matthew Exp $ # package Problems; @@ -104,7 +104,7 @@ sub recent_photos { my $out = ''; foreach (@$probs) { my $title = ent($_->{title}); - $out .= '<a href="/?id=' . $_->{id} . + $out .= '<a href="/report/' . $_->{id} . '"><img border="0" src="/photo?tn=1;id=' . $_->{id} . '" alt="' . $title . '" title="' . $title . '"></a>'; } |