lib/openwfe/expressions/fe_iterator.rb in openwferu-0.9.10.653 vs lib/openwfe/expressions/fe_iterator.rb in openwferu-0.9.11
- old
+ new
@@ -75,9 +75,14 @@
return
end
@iterator = Iterator.new(self, workitem)
+ if not @iterator.has_next?
+ reply_to_parent workitem
+ return
+ end
+
reply workitem
end
def reply (workitem)