From 53949b36f1ddb1039cfb8f7083aee8d5c457f9a7 Mon Sep 17 00:00:00 2001 From: Eileen Date: Thu, 23 Jan 2014 16:00:57 +0000 Subject: [PATCH] api tidy-up add missing spaces --- api/api.php | 2 +- api/v3/utils.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api.php b/api/api.php index b91940a033..959b7994f1 100644 --- a/api/api.php +++ b/api/api.php @@ -87,7 +87,7 @@ function civicrm_api($entity, $action, $params, $extra = NULL) { $result = isset($extra) ? $function($apiRequest['params'], $extra) : $function($apiRequest['params']); } else { - return civicrm_api3_create_error("API (" . $apiRequest['entity'] . "," . $apiRequest['action'] . ") does not exist (join the API team and implement it!)"); + return civicrm_api3_create_error("API (" . $apiRequest['entity'] . ", " . $apiRequest['action'] . ") does not exist (join the API team and implement it!)"); } // For output filtering, process $apiWrappers in reverse order diff --git a/api/v3/utils.php b/api/v3/utils.php index f810fcbf42..d5b54dd75a 100644 --- a/api/v3/utils.php +++ b/api/v3/utils.php @@ -965,7 +965,7 @@ function _civicrm_api3_api_check_permission($entity, $action, &$params, $throw = */ function _civicrm_api3_basic_get($bao_name, &$params, $returnAsSuccess = TRUE, $entity = "") { $bao = new $bao_name(); - _civicrm_api3_dao_set_filter($bao, $params, TRUE,$entity); + _civicrm_api3_dao_set_filter($bao, $params, TRUE, $entity); if ($returnAsSuccess) { return civicrm_api3_create_success(_civicrm_api3_dao_to_array($bao, $params, FALSE, $entity), $params, $entity); } -- 2.25.1