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

chore(likes): prevent PHP notice for missing key in $vars #10231

Closed
wants to merge 1 commit into from

Conversation

jeabakker
Copy link
Member

fixes #9994

@@ -7,9 +7,10 @@
*/

$user = elgg_get_logged_in_user_entity();
$list_class = elgg_extract('list_class', $vars);
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO, explode(' ', $list_class) and then check if it's in array?

Copy link
Member Author

Choose a reason for hiding this comment

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

changed

@jeabakker
Copy link
Member Author

@mrclay did a fix for 2.2 in #10164

@mrclay
Copy link
Member

mrclay commented Sep 23, 2016

If you fix a different way, please take care to merge 1.12 into 2.2 so you can handle the conflict.

@jeabakker
Copy link
Member Author

I can live with the fact that you fixed it and close this PR

@mrclay mrclay closed this Sep 23, 2016
@jeabakker jeabakker deleted the likes-before-list branch May 15, 2017 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants