From 33a733c3d207cd50fe33021b0f00420ce5971d18 Mon Sep 17 00:00:00 2001 From: Marc Michalsky forumZFD Date: Wed, 17 Mar 2021 16:15:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BE=20bug=20fix:=20lost=20campaign=5Fi?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/v3/TwingleProject/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/TwingleProject/Create.php b/api/v3/TwingleProject/Create.php index dbaae51..6d2bcd8 100644 --- a/api/v3/TwingleProject/Create.php +++ b/api/v3/TwingleProject/Create.php @@ -82,7 +82,7 @@ function civicrm_api3_twingle_project_Create(array $params): array { $result = civicrm_api3('TwingleProject', 'getsingle', ['id' => $params['id']] ); - $result['id'] = $result['values']['project_id']; + $result['id'] = $result['project_id']; unset($result['project_id']); $project = new TwingleProject($result, $params['id']); unset($params['id']);