mirror of
https://github.com/pretix/pretix.git
synced 2026-08-26 13:14:40 +00:00
Fix handling negative values in rrule (e.g. batch-adding subevents) (#5476)
This commit is contained in:
Vendored
+2
-2
@@ -1934,7 +1934,7 @@ function buildPoslist(bysetpos, timeset, start, end, ii, dayset) {
|
||||
function iter(iterResult, options) {
|
||||
var dtstart = options.dtstart, freq = options.freq, interval = options.interval, until = options.until, bysetpos = options.bysetpos;
|
||||
var count = options.count;
|
||||
if (count === 0 || interval === 0) {
|
||||
if (count <= 0 || interval <= 0) {
|
||||
return emitResult(iterResult);
|
||||
}
|
||||
var counterDate = datetime_DateTime.fromDate(dtstart);
|
||||
@@ -3799,4 +3799,4 @@ var isFullyConvertible = totext.isFullyConvertible;
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user