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

CRM-21001 E-notice in com_civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php #11307

Merged
merged 1 commit into from
Nov 21, 2017

Conversation

spalmstr
Copy link
Contributor

@spalmstr spalmstr commented Nov 21, 2017

Overview

Undefined index error in SchemaHandler.php

Before

The current status. Please provide screenshots or gifs (LICEcap, [SilentCast](https://github.com/
schemhandlererror
colinkeenan/silentcast)) where appropriate.

After

The error no longer appears.

Technical Details

Define two array variables before they are used.
Wrap the foreach loop in line 750 with an if statement checking for the existence of the index.

Comments

This probably addresses CRM-20749, CRM-21101 and CRM-20766


@eileenmcnaughton
Copy link
Contributor

this is a straight forwards e-notice fix - ok to merge

@eileenmcnaughton eileenmcnaughton merged commit 9069c0a into civicrm:master Nov 21, 2017
sluc23 pushed a commit to ixiam/civicrm-core that referenced this pull request Jan 10, 2018
@spalmstr spalmstr deleted the CRM-21001 branch February 23, 2018 11:03
@mlutfy mlutfy added this to the 4.7.32 milestone Mar 6, 2018
@mlutfy mlutfy changed the title CRM-21001 CRM-21001 E-notice in com_civicrm/civicrm/CRM/Core/BAO/SchemaHandler.php Mar 6, 2018
@mlutfy mlutfy removed this from the 4.7.32 milestone Mar 6, 2018
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.

4 participants