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

[stable12] Fix undefined index problem #8893

Merged
merged 1 commit into from Mar 20, 2018

Conversation

Projects
None yet
4 participants
@rullzer
Member

rullzer commented Mar 20, 2018

Backport of #8173

Fix undefined index problem
Nextcloud 13RC4, error in logfile, triggered by "occ config:list":

Invalid argument supplied for foreach() at lib/private/AppConfig.php#297
PHP	Undefined index: workflowengine at lib/private/AppConfig.php#297

Fix: Check if index exists in array before using it.
@nickvergessen

isset is better 🤷‍

@rullzer

This comment has been minimized.

Member

rullzer commented Mar 20, 2018

I just took a backpoort and cherry picked... in master it already is that so lets keep this for now.

@rullzer rullzer merged commit 969d36f into stable12 Mar 20, 2018

1 check was pending

continuous-integration/drone/pr this build is pending
Details

@rullzer rullzer deleted the 8693_12 branch Mar 20, 2018

@MorrisJobke MorrisJobke referenced this pull request Apr 18, 2018

Merged

12.0.7 RC 1 #9229

3 of 3 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment