mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
The line
at +*00:15:00 set FHZ time lead to the error message in the log: --------- Use of uninitialized value in concatenation (.) or string at /usr/local/bin/fhem.pl line 862, <CFG> line 281. 2007.02.03 21:26:13 1: +, *, , 00:15:00 --------- Moved "Log" line after setting undefined variables. git-svn-id: https://svn.fhem.de/fhem/trunk@8 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
993886717f
commit
13c8b01154
@ -859,10 +859,11 @@ CommandAt($$)
|
||||
my ($err, $hr, $min, $sec, $fn) = GetTimeSpec($tspec);
|
||||
return $err if($err);
|
||||
|
||||
Log 1, "$rel, $rep, $cnt, $tspec";
|
||||
$rel = "" if(!defined($rel));
|
||||
$rep = "" if(!defined($rep));
|
||||
$cnt = "" if(!defined($cnt));
|
||||
Log 1, "$rel, $rep, $cnt, $tspec";
|
||||
|
||||
my $ot = time;
|
||||
my @lt = localtime($ot);
|
||||
my $nt = $ot;
|
||||
|
Loading…
x
Reference in New Issue
Block a user