Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing semicolon in RRULE throws a warning #306

Closed
tacman opened this issue Apr 13, 2022 · 0 comments · Fixed by #307
Closed

Trailing semicolon in RRULE throws a warning #306

tacman opened this issue Apr 13, 2022 · 0 comments · Fixed by #307

Comments

@tacman
Copy link
Contributor

tacman commented Apr 13, 2022

Description of the Issue:

ICS: https://amissvillevfr.org/ical.html?from=calendar&id=73874

if the rule has a trailing ;, list() throws a warning, e.g.

"FREQ=MONTHLY;INTERVAL=1;BYDAY=1WE;"

foreach (explode(';', $anEvent['RRULE']) as $s) {
    list($k, $v) = explode('=', $s);
}

I'll submit a PR associated with this issue.

@u01jmg3 u01jmg3 changed the title trailing semicolon in rule throws warning Trailing semicolon in RRULE throws a warning Apr 13, 2022
@u01jmg3 u01jmg3 removed their assignment Apr 14, 2022
@u01jmg3 u01jmg3 added this to the v2.x.x milestone Apr 14, 2022
@u01jmg3 u01jmg3 added the has-pr label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants