Update Account/Inbox plugin for new Asset instanciators and exceptions.
This commit is contained in:
parent
a62e7b7ed0
commit
4137b196ae
1 changed files with 2 additions and 2 deletions
|
|
@ -1350,8 +1350,8 @@ sub www_sendMessageSave {
|
|||
my $smsAddress = $user->getInboxSmsNotificationAddress;
|
||||
if ( $smsAddress && !$isSender ) {
|
||||
my $smsNotificationTemplate
|
||||
= WebGUI::Asset::Template->new($session, $self->getInboxSmsNotificationTemplateId);
|
||||
if ($smsNotificationTemplate) {
|
||||
= WebGUI::Asset::Template->newById($session, $self->getInboxSmsNotificationTemplateId);
|
||||
if (! Exception::Class->caught() ) {
|
||||
##Create template variables
|
||||
my $var = {
|
||||
fromUsername => $fromUser->username,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue