X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FShredder%2FPlugin%2FAttachments.pm;h=42518b5c03d9f72314cbccd8ab507e6d16a03fd5;hb=7322f2afedcc2f427e997d1535a503613a83f088;hp=f0f64a192d124cb1a5a3421d894099b77f1a4fce;hpb=7588a4ac90a9b07c08a3107cd1107d773be1c991;p=freeside.git diff --git a/rt/lib/RT/Shredder/Plugin/Attachments.pm b/rt/lib/RT/Shredder/Plugin/Attachments.pm index f0f64a192..42518b5c0 100644 --- a/rt/lib/RT/Shredder/Plugin/Attachments.pm +++ b/rt/lib/RT/Shredder/Plugin/Attachments.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -132,7 +132,7 @@ sub Run } return (0, "Internal error: '". $sth->err ."'. Please send bug report.") if $sth->err; - map { $_ = "RT::Attachment-$_" } @objs; + @objs = map {"RT::Attachment-$_"} @objs; return (1, @objs); }