We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49e515 commit 98302deCopy full SHA for 98302de
interface/web/mail/mail_user_edit.php
@@ -304,7 +304,8 @@ function onAfterUpdate() {
304
}
305
306
//** If the email address has been changed, change it in all aliases too
307
- if($this->oldDataRecord['email'] != $this->dataRecord['email']) {
+ if(isset($this->dataRecord['email']) && $this->oldDataRecord['email'] != $this->dataRecord['email']) {
308
+ //if($this->oldDataRecord['email'] != $this->dataRecord['email']) {
309
310
//* Update the aliases
311
$forwardings = $app->db->queryAllRecords("SELECT * FROM mail_forwarding WHERE destination = '".$app->db->quote($this->oldDataRecord['email'])."'");
0 commit comments