lib/osm/badge.rb in osm-1.2.20 vs lib/osm/badge.rb in osm-1.2.21

- old
+ new

@@ -813,10 +813,10 @@ 'field' => requirement, 'value' => now }) requirements_updated = false unless result.is_a?(Hash) && (result['scoutid'].to_i == member_id) && - (result[requirement.to_s] == now) + (result[requirement.to_s].to_s == now.to_s) end end if requirements_updated requirements.clean_up!