From f9f3424614c01918c9878364d4255b6f6b9b1d85 Mon Sep 17 00:00:00 2001 From: dietmar63 <> Date: Fri, 22 Jan 2016 17:07:50 +0000 Subject: [PATCH] 98_WeekdayTimer, 98_Heating_Control: issue from post http://forum.fhem.de/index.php/topic,47848.msg395069.html#msg395069 repaired git-svn-id: https://svn.fhem.de/fhem/trunk@10596 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_WeekdayTimer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_WeekdayTimer.pm b/fhem/FHEM/98_WeekdayTimer.pm index 3b638c281..3ceae31dc 100644 --- a/fhem/FHEM/98_WeekdayTimer.pm +++ b/fhem/FHEM/98_WeekdayTimer.pm @@ -450,7 +450,8 @@ E: while (@$a > 0) { $element = substr ($element, 0, length($element)-1); my @t = split(/\|/, $element); my $anzahl = @t; - if ( $anzahl >= 2 && $anzahl <= 3) { + + if ( ($anzahl == 2 || $anzahl == 3) && $t[0] gt "" && $t[1] gt "" ) { Log3 $hash, 4, "[$name] $element - accepted"; push(@switchingtimes, $element); } else {