aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default/index.html')
-rw-r--r--templates/web/default/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index 9c786459c..5dffb5f10 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -72,9 +72,9 @@
%]
-[% IF probs.size || recent_photos %]
+[% IF probs.size || recent_photos.size %]
<div id="front_recent">
- [% IF recent_photos %]
+ [% IF recent_photos.size %]
<h2>[% loc('Photos of recent reports') %]</h2>
[% FOREACH p IN recent_photos %]
<a href="/report/[% p.id %]"><img border="0" height="100"