Skip to content

Commit

Permalink
Merge pull request #27048 from eileenmcnaughton/notices
Browse files Browse the repository at this point in the history
E-notice fix, don't skip loading NULL fields
  • Loading branch information
seamuslee001 authored Aug 11, 2023
2 parents e0f85f1 + 06fee90 commit 0e691ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Price/BAO/PriceSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ public static function getSetDetail($setID, $required = TRUE, $doNotIncludeExpir
$setTree[$setID]['fields'][$fieldID]['id'] = $fieldID;

foreach ($priceFields as $field) {
if ($field == 'id' || is_null($dao->$field)) {
if ($field === 'id') {
continue;
}

Expand Down

0 comments on commit 0e691ea

Please sign in to comment.