From d062030e470cd853622f25390f13995788f27197 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Wed, 16 Jul 2014 14:19:45 +0530 Subject: [PATCH] Minor fix --- api/v3/Generic/Setvalue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Generic/Setvalue.php b/api/v3/Generic/Setvalue.php index f471dd2dd6..ff3e601187 100644 --- a/api/v3/Generic/Setvalue.php +++ b/api/v3/Generic/Setvalue.php @@ -69,7 +69,7 @@ function civicrm_api3_generic_setValue($apiRequest) { $entityDAO = new $dao_name(); $entityDAO->copyValues($params); CRM_Utils_Hook::post('edit', $entity, $entityDAO->id, $entityDAO); - return civicrm_api3_create_success($entity); + return civicrm_api3_create_success($params); } else { return civicrm_api3_create_error("error assigning $field=$value for $entity (id=$id)"); -- 2.25.1