From 2632fc16cb647f5f6d0ee333671ad138be0600d6 Mon Sep 17 00:00:00 2001 From: tpoitzsch <> Date: Tue, 3 Mar 2015 19:29:40 +0000 Subject: [PATCH] PROPLANTA: Bugfix bei Vorschau <14 Tage git-svn-id: https://svn.fhem.de/fhem/trunk@8147 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/59_PROPLANTA.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fhem/FHEM/59_PROPLANTA.pm b/fhem/FHEM/59_PROPLANTA.pm index 3fb580b77..59afd0404 100644 --- a/fhem/FHEM/59_PROPLANTA.pm +++ b/fhem/FHEM/59_PROPLANTA.pm @@ -650,9 +650,7 @@ sub PROPLANTA_Done($) { if ($fcDays < 14 && $rName =~ /^fc(\d+)_/) { - my $rFcDay = $rName; - $rFcDay =~ s/^fc(\d+)_/$1/; - next unless $rFcDay < $fcDays; + next unless $1 < $fcDays; } readingsBulkUpdate( $hash, $rName, $rValue ); PROPLANTA_Log $hash, 5, "reading:$rName value:$rValue";