And again...
This commit is contained in:
parent
4137b196ae
commit
913802f0f6
1 changed files with 2 additions and 2 deletions
|
|
@ -1383,8 +1383,8 @@ sub www_sendMessageSave {
|
|||
if (!$notificationAddresses) {
|
||||
$messageOptions->{no_email} = 1;
|
||||
} else {
|
||||
my $template = WebGUI::Asset::Template->new($session, $self->getInboxNotificationTemplateId);
|
||||
if ($template) {
|
||||
my $template = eval { WebGUI::Asset::Template->newById($session, $self->getInboxNotificationTemplateId); };
|
||||
if (! Exception::Class->caught() ) {
|
||||
##Create template variables
|
||||
my $var = {
|
||||
fromUsername => $fromUser->username,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue