Upgrade to 4.2.8
[usit-rt.git] / share / html / REST / 1.0 / Forms / ticket / attachments
index ba3a248..0ec91f8 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -89,23 +89,23 @@ if ($aid) {
             $r->content_type($attachment->ContentType);
         }
     } else {
-       my @data;
-       push @data, [ id    => $attachment->Id   ];
-       push @data, [ Subject    => $attachment->Subject   ];
-       push @data, [ Creator    => $attachment->Creator   ];
-       push @data, [ Created    => $attachment->Created   ];
-       push @data, [ Transaction    => $attachment->TransactionId   ];
-       push @data, [ Parent    => $attachment->Parent   ];
-       push @data, [ MessageId    => $attachment->MessageId   ];
-       push @data, [ Filename    => $attachment->Filename   ];
-       push @data, [ ContentType    => $attachment->ContentType   ];
-       push @data, [ ContentEncoding    => $attachment->ContentEncoding   ];
-       push @data, [ Headers    => $attachment->Headers   ];
-       push @data, [ Content    => $attachment->Content   ];
+        my @data;
+        push @data, [ id    => $attachment->Id   ];
+        push @data, [ Subject    => $attachment->Subject   ];
+        push @data, [ Creator    => $attachment->Creator   ];
+        push @data, [ Created    => $attachment->Created   ];
+        push @data, [ Transaction    => $attachment->TransactionId   ];
+        push @data, [ Parent    => $attachment->Parent   ];
+        push @data, [ MessageId    => $attachment->MessageId   ];
+        push @data, [ Filename    => $attachment->Filename   ];
+        push @data, [ ContentType    => $attachment->ContentType   ];
+        push @data, [ ContentEncoding    => $attachment->ContentEncoding   ];
+        push @data, [ Headers    => $attachment->Headers   ];
+        push @data, [ Content    => $attachment->Content   ];
 
-       my %k = map {@$_} @data;
-       $o = [ map {$_->[0]} @data ];
-       $k = \%k;
+        my %k = map {@$_} @data;
+        $o = [ map {$_->[0]} @data ];
+        $k = \%k;
     }
 
 }