user -> this

darcs-hash:20080923181648-5ed1f-a30ef5c24b8b9e49e5c8ba8e023574bb7d9b1ef3.gz
This commit is contained in:
Evan Prodromou 2008-09-23 14:16:48 -04:00
parent 49a79590b0
commit 0ee3d6ccb0

View 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()) {