X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FShowEmailRecord.html;h=e7d496e2a63dbb4c23d0d8e27c909e25fd0de6d3;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=77f0f5966966e5d442041e3331b3695ff3a8fec6;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Ticket/ShowEmailRecord.html b/rt/share/html/Ticket/ShowEmailRecord.html index 77f0f5966..e7d496e2a 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-2015 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));