diff --git a/Api/V8/Service/ModuleService.php b/Api/V8/Service/ModuleService.php index 7fb3cc19dd4..b3ee99cd185 100644 --- a/Api/V8/Service/ModuleService.php +++ b/Api/V8/Service/ModuleService.php @@ -473,6 +473,14 @@ protected function processAttributes(&$bean, $attributes) } elseif ($property === 'filename') { $createFile = true; continue; + + } elseif ($property === 'email1') { + foreach ($bean->emailAddress->addresses as $index => $email) { + if ($email['email_address'] === $bean->$property) { + $bean->emailAddress->addresses[$index]['email_address'] = $value; + $bean->emailAddress->addresses[$index]['email_address_caps'] = strtoupper($value); + } + } } $bean->$property = $value;