From c4a5fcaf278947782e4d600a3d6bdfe14eeb7fab Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 18 Dec 2011 00:39:15 -0800 Subject: [PATCH] fix xml poco for arrays --- view/poco_entry_xml.tpl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/view/poco_entry_xml.tpl b/view/poco_entry_xml.tpl index c3db9f2b2..4d84cee41 100644 --- a/view/poco_entry_xml.tpl +++ b/view/poco_entry_xml.tpl @@ -2,10 +2,6 @@ {{ if $entry.id }}$entry.id{{ endif }} {{ if $entry.displayName }}$entry.displayName{{ endif }} {{ if $entry.preferredUsername }}$entry.preferredUsername{{ endif }} -{{ if $entry.urls }} -{{for $entry.urls as $url }} -$url.value$url.type -{{endfor}} -{{ endif }} -{{ if $entry.photos }}$entry.photos.value$entry.photos.type{{ endif }} +{{ if $entry.urls }}{{ for $entry.urls as $url }}$url.value$url.type{{ endfor }}{{ endif }} +{{ if $entry.photos }}{{ for $entry.photos as $photo }}$photo.value$photo.type{{ endfor }}{{ endif }}