Fix a bad template variable in SendNewletters workflow activity, bug #10953
This commit is contained in:
parent
5a43e24384
commit
b57dff3e3e
4 changed files with 140 additions and 3 deletions
|
|
@ -157,7 +157,8 @@ Store subscription information for a user into the database.
|
|||
|
||||
=head3 $subscriptions
|
||||
|
||||
A string containing newline separated subscriptions for a user.
|
||||
A string containing newline separated subscriptions for a user. A "subscription" is the
|
||||
fieldId of an asset metadata field joined with the metadata value with a tilde "~".
|
||||
|
||||
=head3 $userId
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ sub execute {
|
|||
$eh->info("Getting user $userId");
|
||||
my $user = WebGUI::User->new($self->session, $userId);
|
||||
next if ($user->isVisitor);
|
||||
my $emailAddress = $user->profileField("email");
|
||||
my $emailAddress = $user->get("email");
|
||||
next if ($emailAddress eq "");
|
||||
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ sub execute {
|
|||
push(@threadLoop, {
|
||||
title => $thread->getTitle,
|
||||
synopsis => $thread->get("synopsis"),
|
||||
body => $thread->get("body"),
|
||||
body => $thread->get("content"),
|
||||
url => $siteurl.$thread->getUrl,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue