Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Account/Inbox plugin for new Asset instanciators and exceptions.
  • Loading branch information
perlDreamer committed Mar 4, 2010
1 parent a62e7b7 commit 4137b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/WebGUI/Account/Inbox.pm
Expand Up @@ -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,
Expand Down

0 comments on commit 4137b19

Please sign in to comment.