Skip to content

Commit

Permalink
Use strict comparison for cType (cat type?)
Browse files Browse the repository at this point in the history
cType is always a word so strict is good
  • Loading branch information
eileenmcnaughton committed Jan 9, 2023
1 parent 58272b5 commit 6369589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Import/Form/MapField.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function buildQuickForm(): void {
}

foreach ($highlightedFields as $k => $v) {
if ($v == $cType || $v === 'All') {
if ($v === $cType || $v === 'All') {
$highlightedRelFields[$key][] = $k;
}
}
Expand Down

0 comments on commit 6369589

Please sign in to comment.