diff --git a/fhem/CHANGED b/fhem/CHANGED index 585141e29..8dae5da4e 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - change: do no parse empty lines in 57_Calendar.pm - bugfix: 10_SOMFY.pm: save enc-key and rolling-code as reading instead of attribute to prevent loss of control after FHEM restart. - feature: new module 10_SOMFY.pm to support Somfy RTS blinds diff --git a/fhem/FHEM/57_Calendar.pm b/fhem/FHEM/57_Calendar.pm index 444a69be5..a423f25b2 100644 --- a/fhem/FHEM/57_Calendar.pm +++ b/fhem/FHEM/57_Calendar.pm @@ -108,6 +108,7 @@ sub parseSub { $line =~ s/[\x0D]//; # chomp will not remove the CR #main::Debug "$ln: $line"; $ln++; + next if($line eq ""); # remove empty line last if($line =~ m/^END:.*$/); if($line =~ m/^BEGIN:(.*)$/) { my $entry= ICal::Entry->new($1);