Bugfix: accessing nonexisting field in the log
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -244,7 +244,7 @@ FileLog_Get($@)
|
||||
$line = "$fld[0] $col\n";
|
||||
|
||||
} elsif($t == 1) { # The column
|
||||
$line = "$fld[0] $fld[$col]\n";
|
||||
$line = "$fld[0] $fld[$col]\n" if(defined($fld[$col]));
|
||||
|
||||
} elsif($t == 2) { # delta-h or delta-d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user