CRM-17073 fix - Merge Household Members Into Their Household on Export
authormonishdeb <monish.deb@webaccessglobal.com>
Mon, 31 Aug 2015 07:46:04 +0000 (13:16 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Mon, 31 Aug 2015 07:46:04 +0000 (13:16 +0530)
https://issues.civicrm.org/jira/browse/CRM-17073

CRM/Contact/BAO/Query.php

index bd8f765f88fcb46e18cd2b000efb3afd07a4e742..624ce0e2f4bc23f7047a1eb47cd0053e50568b97 100644 (file)
@@ -5532,7 +5532,7 @@ AND   displayRelType.is_active = 1
         continue;
       }
 
-      if (property_exists($dao, $value['idCol'])) {
+      if (is_object($dao) && property_exists($dao, $value['idCol'])) {
         $val = $dao->$value['idCol'];
 
         if (CRM_Utils_System::isNull($val)) {