From 696fe53d8f19d93f4e217a44c8ca7a5df1f5138e Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 28 Dec 2015 09:46:18 +0100 Subject: [PATCH] sizes links in xml output of api/frienidca/photo is an array --- view/templates/api_photo_detail_xml.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/templates/api_photo_detail_xml.tpl b/view/templates/api_photo_detail_xml.tpl index 335ec0a9d..0b0602901 100644 --- a/view/templates/api_photo_detail_xml.tpl +++ b/view/templates/api_photo_detail_xml.tpl @@ -12,9 +12,9 @@ {{$photo.width}} {{$photo.datasize}} 1 - {{foreach $photo.link as $scale => $url}} + {{foreach $photo.link as $scale => $url}} - {{/foreach}} + {{/foreach}} {{if $photo.data}} {{$photo.data}} {{/if}}