lib/docman/info.rb in docman-0.0.19 vs lib/docman/info.rb in docman-0.0.20
- old
+ new
@@ -83,10 +83,10 @@
end
def set_rebuild_recursive(obj, value)
obj.need_rebuild[@state_name] = value
if obj.has_key?('children')
- obj['children'].values.each do |info|
+ obj['children'].each do |info|
set_rebuild_recursive(info, value)
end
end
end
\ No newline at end of file