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) {
|
if (!$notificationAddresses) {
|
||||||
$messageOptions->{no_email} = 1;
|
$messageOptions->{no_email} = 1;
|
||||||
} else {
|
} else {
|
||||||
my $template = WebGUI::Asset::Template->new($session, $self->getInboxNotificationTemplateId);
|
my $template = eval { WebGUI::Asset::Template->newById($session, $self->getInboxNotificationTemplateId); };
|
||||||
if ($template) {
|
if (! Exception::Class->caught() ) {
|
||||||
##Create template variables
|
##Create template variables
|
||||||
my $var = {
|
my $var = {
|
||||||
fromUsername => $fromUser->username,
|
fromUsername => $fromUser->username,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue