mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
57_Calendar: avoid some warnings
git-svn-id: https://svn.fhem.de/fhem/trunk@13328 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d051d71b0c
commit
4b288a0592
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||||
# Do not insert empty lines here, update check depends on it.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- changed: 57_Calendar: avoid some warnings
|
||||||
- bufix: 00_MQTT: fixed delete MQTT_DEVICE
|
- bufix: 00_MQTT: fixed delete MQTT_DEVICE
|
||||||
- update: 98_DOIFtools: suppress lookup windows in DOIF or DOIFtools
|
- update: 98_DOIFtools: suppress lookup windows in DOIF or DOIFtools
|
||||||
by attribute DOIFtoolsNoLookUp and DOIFtoolsNoLookUpInDOIF
|
by attribute DOIFtoolsNoLookUp and DOIFtoolsNoLookUpInDOIF
|
||||||
|
@ -2054,8 +2054,8 @@ sub Calendar_GetEvents($$$$) {
|
|||||||
if(defined($filterref)) {
|
if(defined($filterref)) {
|
||||||
next unless(&$filterref($event, $param));
|
next unless(&$filterref($event, $param));
|
||||||
}
|
}
|
||||||
if(defined($t1)) { next if($event->end() < $t1); }
|
if(defined($t1)) { next if(defined($event->end()) && $event->end() < $t1); }
|
||||||
if(defined($t2)) { next if($event->start() > $t2); }
|
if(defined($t2)) { next if(defined($event->start()) && $event->start() > $t2); }
|
||||||
push @result, $event;
|
push @result, $event;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user