2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

57_CALVIEW.pm: -changed the way to test values, thx klausw

git-svn-id: https://svn.fhem.de/fhem/trunk@11819 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284 2016-07-18 20:26:10 +00:00
parent a5857f07ef
commit 0289412e47

View File

@ -100,7 +100,7 @@ sub CALVIEW_GetUpdate($){
my @bts=str2time($M."/".$D."/".$Y." ".$tempstart[1]);
#replace the "\," with ","
if(length($item->[1]) > 0){ $item->[1] =~ s/\\,/,/g; }
if(length($item->[4]) > 0){ $item->[4] =~ s/\\,/,/g; }
if( defined($item->[4]) && length($item->[4]) > 0){ $item->[4] =~ s/\\,/,/g; }
push @termineNew,{
bdate => $tempstart[0],
btime => $tempstart[1],