Remove more deprecated uses of profileField.

This commit is contained in:
Colin Kuskie 2010-11-18 16:16:40 -08:00
parent 59c03b50e7
commit 8255b6905f
2 changed files with 3 additions and 3 deletions

View file

@ -346,7 +346,7 @@ sub notifySubscribers {
if ( !$opt->{ from } ) {
my $owner = WebGUI::User->new( $self->session, $self->ownerUserId );
$opt->{ from } = $owner->profileField( "email" ) || $opt->{ listAddress } || $companyEmail;
$opt->{ from } = $owner->get( "email" ) || $opt->{ listAddress } || $companyEmail;
}
if ( !$opt->{ replyTo } ) {