From f35b8d4957ae3a44c8fbfcc5dc1ba4205a2f70a9 Mon Sep 17 00:00:00 2001 From: betateilchen Date: Mon, 25 Feb 2019 13:41:48 +0000 Subject: [PATCH] 57_CalDav.pm: catch error condition git-svn-id: https://svn.fhem.de/fhem/trunk@18736 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/57_CalDav.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/57_CalDav.pm b/fhem/FHEM/57_CalDav.pm index c69c4faec..8b74ae419 100644 --- a/fhem/FHEM/57_CalDav.pm +++ b/fhem/FHEM/57_CalDav.pm @@ -47,7 +47,7 @@ sub CalDav_Process($$$) { my $url = $hash->{URL}; my $options = $hash->{OPTIONS}; - unless $data { + unless ($data) { Log3 $hash,1,"CalDav: Maybe this is the wrong way to use your calendar. Try 57_Calendar.pm instead."; return; }