fixed CRM-13223
authorkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 12:05:45 +0000 (17:35 +0530)
committerkurund <kurund@civicrm.org>
Wed, 14 Aug 2013 12:05:45 +0000 (17:35 +0530)
----------------------------------------
* CRM-13223: Include phone entity fields in Contact get spec
  http://issues.civicrm.org/jira/browse/CRM-13223

api/v3/Contact.php

index 39b6926ebb30433257c4f6734a4a4f54c1728c0e..cbf63e8da6607bfa9434484eb886aec92986cea4 100644 (file)
@@ -186,6 +186,7 @@ function _civicrm_api3_contact_get_spec(&$params) {
   $params['worldregion_id']['title'] = 'Primary Address World Region ID';
   $params['worldregion']['title'] = 'Primary Address World Region';
   $params['phone_id']['title'] = 'Primary Phone ID';
+  $params['phone']['title'] = 'Primary Phone';
   $params['phone_type_id']['title'] = 'Primary Phone Type ID';
   $params['provider_id']['title'] = 'Primary Phone Provider ID';
   $params['email_id']['title'] = 'Primary Email ID';