Contact Greetings - Fix assumption about empty values
authorColeman Watts <coleman@civicrm.org>
Mon, 24 Jan 2022 00:14:09 +0000 (19:14 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 24 Jan 2022 00:14:09 +0000 (19:14 -0500)
commit58b8a3df198864ff473046b6054d7f95640ac192
tree772c3b9b9bf00fbdab52cd1913fad0e5a5d0b787
parent236737d5c7cff529f06948a6994d284b81f4d5b7
Contact Greetings - Fix assumption about empty values

The function `ensureGreetingParamsAreSet` was assuming that the string 'null' means NULL
but an empty string was "no value given". In reality, an empty string can also signify NULL,
and only a true NULL or unset value means "no value given".
CRM/Contact/BAO/Contact.php