Skip to content
Snippets Groups Projects
Unverified Commit a1138a81 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #15423 from greenpeace-cee/fix-is-required-address-field

Fix E_NOTICE for is_required in address form
parents 8723cead eaf3c29d
Branches
Tags
No related merge requests found
......@@ -371,7 +371,7 @@ class CRM_Contact_Form_Edit_Address {
}
foreach ($csVal['fields'] as $cdId => $cdVal) {
if ($cdVal['is_required']) {
if (!empty($cdVal['is_required'])) {
$elementName = $cdVal['element_name'];
if (in_array($elementName, $form->_required)) {
// store the omitted rule for a element, to be used later on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment