diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-05-22 18:12:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-05-22 18:12:14 +0100 |
commit | 5206883356f1ab50015c620113cfffcc8cfb5cf2 (patch) | |
tree | 9ff5796c404b0bb6ad40aacca762c11d44ee9506 /templates | |
parent | ce2974e01587e4dafa119880f9c80f54eededa13 (diff) |
Bugfix, don't overwrite c variable.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/emptyhomes/around/extra_text.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/emptyhomes/around/extra_text.html b/templates/web/emptyhomes/around/extra_text.html index bb9d18d8e..9e96d079e 100644 --- a/templates/web/emptyhomes/around/extra_text.html +++ b/templates/web/emptyhomes/around/extra_text.html @@ -1,7 +1,7 @@ [% # Need to ignore any county council -FOR c IN all_areas.values; - SET council = c IF c.type != 'CTY'; +FOR coun IN all_areas.values; + SET council = coun IF coun.type != 'CTY'; END; %] <a href="/local/[% c.cobrand.short_name(council) | lower %]"> |