fix forwarding of parameters

This commit is contained in:
Marc Michalsky forumZFD 2020-12-14 17:18:49 +01:00
parent 84e1b1196e
commit 42266cee98
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -71,8 +71,8 @@ function civicrm_api3_twingle_form_Get(array $params) {
'is_active' => 1, 'is_active' => 1,
'campaign_type_id' => "twingle_project" 'campaign_type_id' => "twingle_project"
]; ];
foreach($params as $param) { foreach($params as $key => $param) {
array_push($request, $param); $request[$key] = $param;
} }
try { try {