diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-02-07 12:16:56 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-02-07 12:16:56 +0000 |
commit | 8a3f7d28e392226374b0829d26bfec5c49b580b6 (patch) | |
tree | 07b3dfcd6bf21768952b64f096b21dddd3e2a841 | |
parent | eed7a344d7bb599cdb100919fcc12f9833ff217d (diff) |
Fix undefined variable warning.
-rw-r--r-- | templates/web/zurich/admin/index-dm.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/zurich/admin/index-dm.html b/templates/web/zurich/admin/index-dm.html index 71458dab9..5b2141d36 100644 --- a/templates/web/zurich/admin/index-dm.html +++ b/templates/web/zurich/admin/index-dm.html @@ -15,7 +15,7 @@ [% INCLUDE 'admin/footer.html' %] -[% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - c.req.params.d ) %][% ELSE %][% c.uri_with( { o => choice } ) %][% END %][% END %] +[% BLOCK sort_link %][% IF order == choice %][% c.uri_with( d => 1 - (c.req.params.d||0) ) %][% ELSE %][% c.uri_with( { o => choice } ) %][% END %][% END %] [% BLOCK list %] <table cellspacing="0" cellpadding="2" border="1"> |