Skip to content

Commit d3c8f7b

Browse files
author
Simon Karlen
committed
fixed error if byMonthDay gets parsed as array
1 parent d940fc2 commit d3c8f7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/views/task/update.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@
302302
$byDayInt = preg_replace('#[^\-\d]#', '', $byDay);
303303
$byDayString = preg_replace('#[\-\d]#', '', $byDay);
304304
}
305+
if (is_array($byMonthDay)) {
306+
$byMonthDay = $byMonthDay[0];
307+
}
305308
}
306309
?>
307310

0 commit comments

Comments
 (0)