From ad4e5e841d39a9ac1799b4ea63f9867fddf1bec3 Mon Sep 17 00:00:00 2001 From: hartvig Date: Fri, 6 Jan 2012 08:39:26 -0100 Subject: [PATCH] Work items: 30657 --- umbraco/presentation/macro.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/umbraco/presentation/macro.cs b/umbraco/presentation/macro.cs index 0e411e9dc3..e605dfa069 100644 --- a/umbraco/presentation/macro.cs +++ b/umbraco/presentation/macro.cs @@ -497,7 +497,13 @@ namespace umbraco foreach (MacroPropertyModel mp in Model.Properties) { if (attributes.ContainsKey(mp.Key.ToLower())) + { mp.Value = attributes[mp.Key.ToLower()].ToString(); + } + else + { + mp.Value = string.Empty; + } } }