lib/rbbt/rest/entity.rb in rbbt-rest-1.4.12 vs lib/rbbt/rest/entity.rb in rbbt-rest-1.4.13

- old
+ new

@@ -479,9 +479,10 @@ favs = {} favourite_entities.each{|type, list| type_favs = {} list.each do |entity| + next unless entity.respond_to? :link info = entity.info info.delete :annotation_types type_favs[entity] = {:info => info, :link => entity.link} end favs[type] = type_favs