Skip to content

Conversation

@gumacahin
Copy link

Added a default array() in so that the call to sizeof doesn’t fail.

When gwt_options does not exist the call to get_option returns null and the call to sizeof causes a crash since it requires an iteratable.

Added a default `array()` in so that the call to sizeof doesn’t fail.

When `gwt_options` does not exist the call to `get_option` returns `null` and the call to `sizeof` causes a crash since it requires an iteratable.
@fordix10
Copy link

Ty. Bro

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