diff options
Diffstat (limited to 'rt/share/html/Ticket/ShowEmailRecord.html')
-rw-r--r-- | rt/share/html/Ticket/ShowEmailRecord.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -79,7 +79,7 @@ $show = sub { $m->out( '</pre></div>' ); }; -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)); |