Skip to content
Snippets Groups Projects
Commit d7e0c7f9 authored by lobo's avatar lobo
Browse files

Merge pull request #2196 from lcdservices/CRM-13954

CRM-13954 processGreetings contact object query condition
parents cb74ef60 1a902da0
No related branches found
No related tags found
No related merge requests found
......@@ -2512,7 +2512,9 @@ AND civicrm_openid.is_primary = 1";
// fields that are required to calculate greeting and
// also other fields used in tokens etc,
// hence we need to retrieve it again.
$contact->find(TRUE);
if ( $contact->_query !== FALSE ) {
$contact->find(TRUE);
}
// store object values to an array
$contactDetails = array();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment