add parameter for direction to function call

This commit is contained in:
Marc Michalsky forumZFD 2020-10-02 16:55:37 +02:00
parent 9cb1feaed4
commit 3fd17d4bf0
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -111,7 +111,7 @@ class TwingleProject {
// Translate Twingle field names into custom field names
$translatedFields = $this->values;
self::translateCustomFields($translatedFields);
self::translateCustomFields($translatedFields, self::OUT);
// Create campaign
$result = civicrm_api3('Campaign', 'create', $translatedFields);