summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index fcae38c09..643069782 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -334,7 +334,7 @@ class User extends DB_DataObject
function emailChanged() {
$invites = new Invitation();
- $invites->address = $user->email;
+ $invites->address = $this->email;
$invites->address_type = 'email';
if ($invites->find()) {