diff --git a/simplenews.module b/simplenews.module index d34630d..faedf4d 100644 --- a/simplenews.module +++ b/simplenews.module @@ -450,7 +450,7 @@ function simplenews_user_profile_form_submit($form, FormStateInterface $form_sta */ function simplenews_user_create(UserInterface $account) { // Copy values for shared fields from existing subscriber. - if ($email = $account->getEmail() && $subscriber = Subscriber::loadByMail($email)) { + if (!$account->isNew() && $email = $account->getEmail() && $subscriber = Subscriber::loadByMail($email)) { $subscriber->copyToAccount($account); } }