CRM-13234 define type for current_employer field
authoreileen <eileen@fuzion.co.nz>
Tue, 20 Aug 2013 13:26:47 +0000 (01:26 +1200)
committereileen <eileen@fuzion.co.nz>
Tue, 20 Aug 2013 13:26:47 +0000 (01:26 +1200)
api/v3/Contact.php

index 6040e5ceb66369d11173d88c350e06dd543004e7..a96ba078e7dc8d22513f4c795f736066bbaaa3d3 100644 (file)
@@ -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',