AutoCommit Fre Jul 17 14:03:07 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-17 14:03:07 +02:00
parent 0e9525af81
commit 068c2a2e55
2 changed files with 6 additions and 5 deletions

View File

@@ -146,7 +146,7 @@ class Lva < ActiveRecord::Base
# end
# end
self.name=hash["course"]["title"]["de"]
self.pruefungsinformation = hash["course"]["examinationModalities"][I18n.locale.to_s].to_s
self.pruefungsinformation = hash["course"]["examinationModalities"][I18n.locale.to_s].to_s unless hash["course"]["examinationModalities"][I18n.locale.to_s].to_s.empty?
self.desc= hash["course"]["objective"][I18n.locale.to_s]+"<p></p>"+hash["course"]["teachingContent"][I18n.locale.to_s]
self.typ=hash["course"]["courseType"]
self.stunden=hash["course"]["weeklyHours"]