X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FTicket%2FShowEmailRecord.html;fp=rt%2Fshare%2Fhtml%2FTicket%2FShowEmailRecord.html;h=55ee8233805785f12d0fd813dd5db122c2e8fd5b;hb=43a06151e47d2c59b833cbd8c26d97865ee850b6;hp=77f0f5966966e5d442041e3331b3695ff3a8fec6;hpb=6587f6ba7d047ddc1686c080090afe7d53365bd4;p=freeside.git diff --git a/rt/share/html/Ticket/ShowEmailRecord.html b/rt/share/html/Ticket/ShowEmailRecord.html index 77f0f5966..55ee82338 100644 --- a/rt/share/html/Ticket/ShowEmailRecord.html +++ b/rt/share/html/Ticket/ShowEmailRecord.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -79,7 +79,7 @@ $show = sub { $m->out( '' ); }; -my $AttachmentObj = new RT::Attachment($session{'CurrentUser'}); +my $AttachmentObj = RT::Attachment->new($session{'CurrentUser'}); $AttachmentObj->Load($Attachment) || Abort(loc("Attachment '[_1]' could not be loaded", $Attachment)); unless ( $AttachmentObj->id ) { Abort(loc("Attachment '[_1]' could not be loaded", $Attachment));