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

fix(caldav): Assign initial value to typed CalendarQuery properties #39504

Merged

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Jul 20, 2023

Summary

The props are not initialized otherwise and cause a PHP error: "Typed property OC\\Calendar\\CalendarQuery::$limit must not be accessed before initialization

TODO

  • Fix

Checklist

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Copy link
Member

@fsamapoor fsamapoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. Thank you for fixing it.

@miaulalala miaulalala merged commit af6bb98 into master Jul 20, 2023
@miaulalala miaulalala deleted the fix/caldav/access-typed-searchquery-property-without-init branch July 20, 2023 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: caldav Related to CalDAV internals feature: dav regression
Projects
Development

Successfully merging this pull request may close these issues.

3 participants