lib/lipseys/catalog.rb in lipseys-2.0.2 vs lib/lipseys/catalog.rb in lipseys-2.0.3

- old
+ new

@@ -52,10 +52,10 @@ chunker.reset! else hash = map_hash(node) availability = inventory.select { |i| i[:item_identifier] == hash[:item_identifier] }.first - if availability.present? + if availability hash[:price] = availability[:price] hash[:quantity] = availability[:quantity] hash[:map_price] = availability[:map_price] chunker.add(hash)