Translate values if values come from CiviCRM Campaign API
This commit is contained in:
parent
9f2b5c4913
commit
f4b49077bb
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ class TwingleProject {
|
||||||
$this->values = $values;
|
$this->values = $values;
|
||||||
|
|
||||||
// Translate values if values come from CiviCRM Campaign API
|
// Translate values if values come from CiviCRM Campaign API
|
||||||
|
if ($translate) {
|
||||||
|
$this->values = $this->translateValues(TRUE);
|
||||||
|
$this->id = $values['id'];
|
||||||
|
}
|
||||||
|
|
||||||
// Format data types of the values for import into CiviCRM
|
// Format data types of the values for import into CiviCRM
|
||||||
$this->formatForImport($values);
|
$this->formatForImport($values);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue