Permalink
Browse files

Fixed handling of empty details fields. Fixes #12

  • Loading branch information...
1 parent 6b230fe commit a04030193c48087c5d3f980c5c7b7fdc04a4bc28 @sdesai sdesai committed Oct 23, 2009
Showing with 4 additions and 1 deletion.
  1. +4 −1 componentbuild/shared/macrolib.xml
@@ -8,7 +8,10 @@
<attribute name="key" />
<sequential>
<if>
- <isset property="@{from}" />
+ <and>
+ <isset property="@{from}" />
+ <length string="${@{from}}" when="ne" length="0" />
+ </and>
<then>
<propertyregex property="array"
override="true"

0 comments on commit a040301

Please sign in to comment.