From 5fe3f64124fe89e7d667df04975d244f63bc5a45 Mon Sep 17 00:00:00 2001 From: Johan Vervloet Date: Mon, 25 Jan 2016 22:28:20 +0100 Subject: [PATCH] Declared domain_version as string in create_spec. --- api/v3/Domain.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/Domain.php b/api/v3/Domain.php index 7681acc836..ae76674fa6 100644 --- a/api/v3/Domain.php +++ b/api/v3/Domain.php @@ -163,6 +163,7 @@ function _civicrm_api3_domain_create_spec(&$params) { $params['domain_version'] = array( 'title' => "CiviCRM Version", 'description' => "The civicrm version this instance is running", + 'type' => CRM_Utils_Type::T_STRING, ); $params['domain_version']['api.required'] = 1; unset($params['version']); -- 2.25.1