mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-27 10:37:13 +00:00
57_Calendar: eliminate warning (forum #122850)
git-svn-id: https://svn.fhem.de/fhem/trunk@25029 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ee4042bb42
commit
c7b37929b4
@ -2088,7 +2088,7 @@ sub Calendar_Get($@) {
|
|||||||
} else {
|
} else {
|
||||||
$d1= $2;
|
$d1= $2;
|
||||||
$d2= $d1;
|
$d2= $d1;
|
||||||
if($4 ne '') {
|
if(defined($4) and ($4 ne '')) {
|
||||||
$d2= $4;
|
$d2= $4;
|
||||||
}
|
}
|
||||||
($d1,$d2)= ($d2,$d1) if($d1> $d2);
|
($d1,$d2)= ($d2,$d1) if($d1> $d2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user