lib/actv/event.rb in actv-2.10.3 vs lib/actv/event.rb in actv-2.10.4
- old
+ new
@@ -14,10 +14,10 @@
@course_map ||= tag_by_description 'coursemap'
end
def online_registration_available?
if is_present?(self.registrationUrlAdr)
- if is_present?(self.legacy_data) && is_present?(self.legacy_data.onlineRegistration)
+ if is_present?(self.legacy_data) && is_present?(self.legacy_data.onlineRegistration.to_s)
self.legacy_data.onlineRegistration.to_s.downcase == 'true'
else
true
end
else