BugFix for the value from yesterday problem

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1603 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-06-04 04:47:46 +00:00
parent 0ad62e8d08
commit cf239368be

View File

@@ -262,8 +262,8 @@ RESCAN:
my $l;
if($rescan) {
last if($rescanIdx<=1 || !$rescanNum);
$l = $rescanArr[--$rescanIdx];
last if($rescanIdx<1 || !$rescanNum);
$l = $rescanArr[$rescanIdx--];
} else {
$l = <$ifh>;
last if(!$l);