aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-28 10:51:47 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-28 10:51:47 +0000
commit44e9fa6fe18ede6554ac94e37e520dfae99ab521 (patch)
tree442e6c93c1032389601f2286bd59842723aea77c
parent8caf6e5aea7dddbc084dc8675d6c3346f22660bd (diff)
Make reports' photos use the problem.id
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rwxr-xr-xtemplates/web/fixmystreet/reports/council.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/fixmystreet/reports/council.html b/templates/web/fixmystreet/reports/council.html
index 17ed2c37f..649dcf0b0 100755
--- a/templates/web/fixmystreet/reports/council.html
+++ b/templates/web/fixmystreet/reports/council.html
@@ -158,7 +158,7 @@ Its area is now covered by <a href="/reports/Bedford">Bedford Borough Council</a
</div>
[% IF problem.photo %]
<div class="img">
- <img height="60" width="90" src="/photo?id=[% p.id %];fp=1" alt="">
+ <img height="60" width="90" src="/photo?id=[% problem.id %];fp=1" alt="">
</div>
[% END %]
</a>