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 PHP notice on wordpress permissions form #17758

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Jul 5, 2020

Overview

Sometimes $params[$role] is not set and you get a PHP notice.

Before

PHP notice if $params[$role] is not set.

After

No PHP notice.

Technical Details

Happened when updating a wordpress role to add additional permissions. Undefined index was "administrator".

Comments

@civibot
Copy link

civibot bot commented Jul 5, 2020

(Standard links)

@civibot civibot bot added the master label Jul 5, 2020
@eileenmcnaughton
Copy link
Contributor

Thanks @mattwire - seems pretty straight forward

@eileenmcnaughton eileenmcnaughton merged commit 1c800f9 into civicrm:master Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants