From 5a589d4bd69cbea7b274d6edd45608593d9968d8 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 24 May 2002 22:51:19 +0000 Subject: [PATCH] If macro returned something write it to the response object regardless if the macro wrote to the response itself or not. --- src/helma/framework/core/Skin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/Skin.java b/src/helma/framework/core/Skin.java index fe9ec1b1..c74749f7 100644 --- a/src/helma/framework/core/Skin.java +++ b/src/helma/framework/core/Skin.java @@ -333,7 +333,9 @@ public class Skin { String suffix = (String) parameters.get ("suffix"); reval.res.insert (oldLength, prefix); reval.res.write (suffix); - } else if (v != null) { + } + // if macro returned something append it to response + if (v != null) { writeToResponse (v.toString (), reval.res); } } else {