X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FAttachment%2FWithHeaders%2Fdhandler;h=5df2db41f4de0fd80e9939194698e3ee7087530c;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=7dc46d3b3bf62ecfe15fd4bb785af50a3dc300a1;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Ticket/Attachment/WithHeaders/dhandler b/rt/share/html/Ticket/Attachment/WithHeaders/dhandler index 7dc46d3b3..5df2db41f 100644 --- a/rt/share/html/Ticket/Attachment/WithHeaders/dhandler +++ b/rt/share/html/Ticket/Attachment/WithHeaders/dhandler @@ -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) @@ -53,7 +53,7 @@ Abort("Corrupted attachment URL"); } - my $AttachmentObj = new RT::Attachment( $session{'CurrentUser'} ); + my $AttachmentObj = RT::Attachment->new( $session{'CurrentUser'} ); $AttachmentObj->Load( $id ); unless ( $AttachmentObj->id ) { Abort("Couldn't load attachment #$id");