]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
user -> this
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Sep 2008 18:16:48 +0000 (14:16 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 23 Sep 2008 18:16:48 +0000 (14:16 -0400)
darcs-hash:20080923181648-5ed1f-a30ef5c24b8b9e49e5c8ba8e023574bb7d9b1ef3.gz

classes/User.php

index fcae38c098de2afe49113534234e9265bfcaf6f1..6430697822a542858ce67a708e1bb192f7135233 100644 (file)
@@ -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()) {