fix #1062. I did not test is, so please reopen ticket if it does not work :-)

This commit is contained in:
Reinier Balt 2011-02-08 23:03:05 +01:00
parent 98679cfb1b
commit 564f209800
2 changed files with 5 additions and 1 deletions

View file

@ -275,7 +275,7 @@ module TodosHelper
end
def format_ical_notes(notes)
unless notes.blank?
unless notes.nil? || notes.blank?
split_notes = notes.split(/\n/)
joined_notes = split_notes.join("\\n")
end