Skip to content

Commit

Permalink
Merge pull request #16709 from civicrm/5.24
Browse files Browse the repository at this point in the history
5.24
  • Loading branch information
seamuslee001 authored Mar 9, 2020
2 parents 5ae7629 + 14e94e8 commit 71223c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Utils/Check/Component/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function checkSmartGroupCustomFieldCriteria() {
continue;
}
foreach ($group['form_values'] as $formValues) {
if (substr($formValues[0], 0, 7) == 'custom_') {
if (isset($formValues[0]) && (substr($formValues[0], 0, 7) == 'custom_')) {
list(, $customFieldID) = explode('custom_', $formValues[0]);
if (!in_array($customFieldID, $customFieldIds)) {
$problematicSG[CRM_Contact_BAO_SavedSearch::getName($group['id'], 'id')] = [
Expand Down

0 comments on commit 71223c5

Please sign in to comment.