Merge pull request #6363 from civicrm/CRM-16944
[civicrm-core.git] / api / v3 / Constant.php
index a11ac1195afd65f3b59a10a733e23cbe9db52f9d..316342e6e480a69a0c7f051efbf01bee68e54a95 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -190,6 +190,7 @@ function _civicrm_api3_constant_get_spec(&$params) {
       'name' => 'name',
       'api.required' => 1,
       'options' => array_combine($options, $options),
+      'type' => CRM_Utils_Type::T_STRING,
     ),
   );
 }