diff --git a/lib/WebGUI/User.pm b/lib/WebGUI/User.pm index 2984293f0..a2f81cd29 100644 --- a/lib/WebGUI/User.pm +++ b/lib/WebGUI/User.pm @@ -756,9 +756,9 @@ sent. sub getInboxNotificationAddresses { my $self = shift; my $emails = ''; - if ( $self->profileField('receiveInboxEmailNotifications') - && $self->profileField('email')) { - $emails = $self->profileField('email'); + if ( $self->get('receiveInboxEmailNotifications') + && $self->get('email')) { + $emails = $self->get('email'); } return $emails; }