CRM-12259 suppress Master Address Belongs To from list of fields
authorAidan Saunders <aidan.saunders@gmail.com>
Mon, 1 Apr 2013 13:45:09 +0000 (13:45 +0000)
committerAidan Saunders <aidan.saunders@gmail.com>
Mon, 1 Apr 2013 13:45:09 +0000 (13:45 +0000)
available to profiles

----------------------------------------
* CRM-12259: Bulk update with shared address fails
  http://issues.civicrm.org/jira/browse/CRM-12259

CRM/Core/BAO/UFField.php

index 20af596564b6d6d982504c030eef3b449d1930ff..773a4747e966a6602d976cc7a653f1c530404440 100644 (file)
@@ -849,6 +849,7 @@ SELECT  id
 
     // Internal field not exposed to forms
     unset($fields['Contact']['contact_type']);
+    unset($fields['Contact']['master_id']);
 
     // convert phone extension in to psedo-field phone + phone extension
     //unset extension