98_WeekdayTimer.pm: fix some warnings, forum #112014

git-svn-id: https://svn.fhem.de/fhem/trunk@22401 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User
2020-07-14 20:40:13 +00:00
parent 6588c29635
commit c516a6b52f

View File

@@ -995,7 +995,7 @@ sub WeekdayTimer_isAnActiveTimer {
################################################################################
sub WeekdayTimer_isHeizung {
my $hash = shift // return;
my $hash = shift // return '';
my $name = $hash->{NAME};
@@ -1016,7 +1016,7 @@ sub WeekdayTimer_isHeizung {
return $ts
}
}
return;
return '';
}
################################################################################