diff --git a/phpbbforum.module b/phpbbforum.module
index 26f8d51..1e26f6d 100644
--- a/phpbbforum.module
+++ b/phpbbforum.module
@@ -552,7 +552,7 @@ function phpbbforum_user_update(&$edit, $account, $category) {
     $mail = $edit['mail'];
 
     $updatename = ($account->name != $edit['name']) ? $name : '';
-    $updatemail = ($account->mail != $edit['mail']) ? $mail : '';
+    $updatemail = ($account->mail != $edit['phpbbmailcheck']) ? $mail : '';
 
     $phpbb_user_data = $phpbb_user->data;
 
@@ -869,6 +869,8 @@ function phpbbforum_user_presave(&$edit, $account, $category) {
     if (!isset($edit['phpbbpass'])) {
       $edit['phpbbpass'] = $account->pass;
     }
+      //pass the account mail for comparison in user_update()
+      $edit['phpbbmailcheck'] = $account->mail;
     //return _phpbbforum_user_edit_validate($account, $edit);
   }
 }
