From: eileen Date: Tue, 20 Aug 2013 13:26:47 +0000 (+1200) Subject: CRM-13234 define type for current_employer field X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9c5991b3186bda60efa001652fd63cd486257faf;p=civicrm-core.git CRM-13234 define type for current_employer field --- diff --git a/api/v3/Contact.php b/api/v3/Contact.php index 6040e5ceb6..a96ba078e7 100644 --- a/api/v3/Contact.php +++ b/api/v3/Contact.php @@ -123,6 +123,7 @@ function _civicrm_api3_contact_create_spec(&$params) { $params['current_employer'] = array( 'title' => 'Current Employer', 'description' => 'Name of Current Employer', + 'type' => CRM_Utils_Type::T_STRING, ); $params['dupe_check'] = array( 'title' => 'Check for Duplicates',