From: deb.monish Date: Fri, 14 Oct 2016 07:07:46 +0000 (+0530) Subject: CRM-19502: Export of contacts generating asort/foreach warnings X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f231e365f7f20adef8108cd0d648790e47a72917;p=civicrm-core.git CRM-19502: Export of contacts generating asort/foreach warnings --- diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index 5914b1c2e7..d679e0b553 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -590,6 +590,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { //$relationshipCustomFields = self::getRelationTypeCustomGroupData( $id ); //asort($relationshipCustomFields); + $relatedFields = array(); $relationshipType = new CRM_Contact_BAO_RelationshipType(); $relationshipType->id = $id; if ($relationshipType->find(TRUE)) {