Skip to content
Snippets Groups Projects
Commit 398e1c28 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

Merge pull request #2301 from davecivicrm/CRM-13995a

CRM-13995 - Add is_object check to prevent notices.
parents 3b2f7337 908f91d0
Branches
Tags
No related merge requests found
......@@ -871,7 +871,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
}
}
// CRM-13995
elseif (in_array($relationField, array(
elseif (is_object($relDAO) && in_array($relationField, array(
'email_greeting', 'postal_greeting', 'addressee'))) {
//special case for greeting replacement
$fldValue = "{$relationField}_display";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment