summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-23 14:16:48 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-23 14:16:48 -0400
commit0ee3d6ccb088b396926a372854e9949785a52c13 (patch)
tree652d0baf622e5072354be36cef8b8c8d8e7731b2
parent49a79590b033482b2a53ad8a5dc4cf58342f1a5d (diff)
user -> this
darcs-hash:20080923181648-5ed1f-a30ef5c24b8b9e49e5c8ba8e023574bb7d9b1ef3.gz
-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()) {