diff --git a/app/models/appdata.rb b/app/models/appdata.rb index 20c7a2263..8543ca0fa 100644 --- a/app/models/appdata.rb +++ b/app/models/appdata.rb @@ -14,7 +14,7 @@ def self.get(dist = 'factory') def self.add_appdata(data, xml) data[:apps] = Array.new unless data[:apps] data[:categories] = Array.new unless data[:categories] - xml.xpath("/components/component").each do |app| + xml.xpath("/components/component").each do |app| appdata = Hash.new # Filter translated versions of name and summary out appdata[:name] = app.xpath('name[not(@xml:lang)]').text