aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-15 15:35:48 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:08 +0100
commitdbd0e66c333939683d9890f476df9578ae7e2146 (patch)
tree91c55dce71684c68bac43f60d001dcb05af8f7b4 /templates
parentf96cebbacf4389897b5047cd4d4f6a921305cac4 (diff)
don't test on resultset (it's always true)
instead should be testing on .count
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/admin/flagged.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/admin/flagged.html b/templates/web/default/admin/flagged.html
index adbcfdeaa..941b37598 100644
--- a/templates/web/default/admin/flagged.html
+++ b/templates/web/default/admin/flagged.html
@@ -29,7 +29,7 @@
[% END %]
<h2>[% loc( 'Users' ) %]</h2>
-[% IF users%]
+[% IF users.count > 0 %]
<table cellspacing="0" cellpadding="2" border="1">
<tr>
<th>[% loc('Name') %]</th>