use strict comparisons
This commit is contained in:
parent
089bbdf934
commit
bea59b4365
1 changed files with 2 additions and 2 deletions
|
@ -489,7 +489,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
foreach (['user_extrafield'] as $target) {
|
foreach (['user_extrafield'] as $target) {
|
||||||
if (
|
if (
|
||||||
isset($params[$target])
|
isset($params[$target])
|
||||||
&& '' != $params[$target]
|
&& '' !== $params[$target]
|
||||||
&& in_array($target, $contact_note_mappings)
|
&& in_array($target, $contact_note_mappings)
|
||||||
) {
|
) {
|
||||||
civicrm_api4('Note', 'create', [
|
civicrm_api4('Note', 'create', [
|
||||||
|
@ -812,7 +812,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
if (
|
if (
|
||||||
in_array($target, $contribution_note_mappings)
|
in_array($target, $contribution_note_mappings)
|
||||||
&& isset($params[$target])
|
&& isset($params[$target])
|
||||||
&& '' != $params[$target]
|
&& '' !== $params[$target]
|
||||||
) {
|
) {
|
||||||
civicrm_api4('Note', 'create', [
|
civicrm_api4('Note', 'create', [
|
||||||
'values' => [
|
'values' => [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue