Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Notifier] Fix undefined index in field method #39283

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

Closed
wants to merge 1 commit into from
Closed

[Notifier] Fix undefined index in field method #39283

wants to merge 1 commit into from

Conversation

malteschlueter
Copy link
Contributor

Q A
Branch? 5.2
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

After updating to 5.2 my application got broken because the index "fields" not exists at the beginning when you try to count the number of fields. See

if (10 === \count($this->options['fields'])) {

Additional to the fix i also added a test for the future :)

To reproduce this problem, you can take my test and ignore the change in the SlackSectionBlock.

@derrabus
Copy link
Member

derrabus commented Dec 2, 2020

Duplicate of #39236.

@derrabus derrabus closed this Dec 2, 2020
@malteschlueter malteschlueter deleted the bugfix/fix-undefined-index branch December 6, 2020 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.