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

Ensure array key exists before accessing it #102

Merged

Conversation

jekuaitk
Copy link
Contributor

@jekuaitk jekuaitk commented Apr 29, 2024

If a default purge_days is not configured, you will encounter

Warning: Trying to access array offset on value of type int in os2forms_forloeb_webform_create() (line 154 of sites/default/modules/os2forms/modules/os2forms_forloeb/os2forms_forloeb.module).

when creating new webform.

@jekuaitk jekuaitk requested a review from rimi-itk April 29, 2024 12:22
@jekuaitk jekuaitk merged commit acd6d62 into OS2Forms:develop Apr 29, 2024
7 checks passed
@jekuaitk jekuaitk deleted the feature/avoid-accessing-non-array-as-array branch April 29, 2024 12:34
@jekuaitk jekuaitk mentioned this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants