From 8e8a4e496095ebbcc28a0a33b92ec247995bb99a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 28 Jan 2013 22:46:22 +0100 Subject: [PATCH] Check correctly for recipient ID. --- src/main/resources/templates/insert/sone.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/insert/sone.xml b/src/main/resources/templates/insert/sone.xml index e615725..14cb8a4 100644 --- a/src/main/resources/templates/insert/sone.xml +++ b/src/main/resources/templates/insert/sone.xml @@ -31,7 +31,7 @@ <%foreach currentSone.posts post> <% post.id|xml> - <%ifnull !post.recipient><% post.recipient.id|xml><%/if> + <%if post.recipientId.present><% post.recipientId.get|xml><%/if> <% post.text|xml> -- 2.7.4