From 1192b9685b24a943cb882e42dac512da19321340 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Sat, 24 Mar 2007 16:13:31 +0000 Subject: [PATCH] Arrayize tags with only one photo git-svn-id: http://svn.simon-cozens.org/memories/trunk@52 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- templates/tag/list | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tag/list b/templates/tag/list index 1a9706f..fea4e0d 100644 --- a/templates/tag/list +++ b/templates/tag/list @@ -10,7 +10,7 @@ - [% SET photos = tag.photos %] + [% IF tag.photos.isa("Memories::Photo"); SET photos = [ tag.photos ]; ELSE; SET photos = tag.photos; END %] [% IF photos.last %]
[% tag %]
-- 2.39.5