diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-08-15 15:35:48 +0100 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-09-05 17:31:08 +0100 |
commit | dbd0e66c333939683d9890f476df9578ae7e2146 (patch) | |
tree | 91c55dce71684c68bac43f60d001dcb05af8f7b4 | |
parent | f96cebbacf4389897b5047cd4d4f6a921305cac4 (diff) |
don't test on resultset (it's always true)
instead should be testing on .count
-rw-r--r-- | templates/web/default/admin/flagged.html | 2 |
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> |