diff --git a/account.php b/account.php index 947a4c36f3aa62d83d7fb15447f9c5aecf9967df..07255c848594446ef86414795a45908bf349461b 100644 --- a/account.php +++ b/account.php @@ -58,6 +58,7 @@ elseif ($_POST) { if ($thisclient) { $user_form->getField('email')->configure('disabled', true); $user_form->getField('email')->value = $thisclient->getEmail(); + $_POST['email'] = $thisclient->getEmail(); } if (!$user_form->isValid(function($f) { return !$f->isVisibleToUsers(); }))