lib/openwfe/rest/xmlcodec.rb in openwferu-0.9.8 vs lib/openwfe/rest/xmlcodec.rb in openwferu-0.9.9
- old
+ new
@@ -411,10 +411,10 @@
root.attributes[A_DISPATCH_TIME] = item.dispatch_time
# add filter ? no
- encode_history(item, root)
+ encode_history(item, root) if item.history
doc << root
s = OpenWFE.xmldoc_to_string(doc)
#puts "encoded :\n#{s}"