2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

57_Calendar: fix count for series with exceptions

git-svn-id: https://svn.fhem.de/fhem/trunk@16694 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2018-05-06 10:49:24 +00:00
parent 62951dde4f
commit 5d77585607
2 changed files with 5 additions and 4 deletions

View File

@ -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.
- bugfix: 57_Calendar: fix count for series with exceptions
- bugfix: 72_FB_CALLMONITOR: fix control code entries in phonebook and - bugfix: 72_FB_CALLMONITOR: fix control code entries in phonebook and
reverse search text file reverse search text file
- feature: 49_SSCam: V4.1.0, support Audiostream cams, minor internal changes - feature: 49_SSCam: V4.1.0, support Audiostream cams, minor internal changes

View File

@ -1460,7 +1460,7 @@ sub addOrSkipSeriesEvent($$$$$$) {
#return 0 if($self->addEventLimited($t0, $event) > 0); #return 0 if($self->addEventLimited($t0, $event) > 0);
} }
my $occurances= scalar(@{$self->{events}}); my $occurances= scalar(@{$self->{events}})+scalar(@{$self->{skippedEvents}});
#main::Debug("$occurances occurances so far"); #main::Debug("$occurances occurances so far");
return($occurances< $count); return($occurances< $count);