use strict comparisons

This commit is contained in:
Marc Michalsky 2024-06-06 12:29:43 +02:00
parent 089bbdf934
commit bea59b4365
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -489,7 +489,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
foreach (['user_extrafield'] as $target) {
if (
isset($params[$target])
&& '' != $params[$target]
&& '' !== $params[$target]
&& in_array($target, $contact_note_mappings)
) {
civicrm_api4('Note', 'create', [
@ -812,7 +812,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
if (
in_array($target, $contribution_note_mappings)
&& isset($params[$target])
&& '' != $params[$target]
&& '' !== $params[$target]
) {
civicrm_api4('Note', 'create', [
'values' => [