mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-06-17 05:40:11 +00:00
57_Calendar: eliminate warning (forum #122850)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25029 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
12e0857604
commit
8312a7bf2d
|
@ -2088,7 +2088,7 @@ sub Calendar_Get($@) {
|
|||
} else {
|
||||
$d1= $2;
|
||||
$d2= $d1;
|
||||
if($4 ne '') {
|
||||
if(defined($4) and ($4 ne '')) {
|
||||
$d2= $4;
|
||||
}
|
||||
($d1,$d2)= ($d2,$d1) if($d1> $d2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user