[Rt-commit] r4135 - in rt/branches/3.7-EXPERIMENTAL: . lib/RT

ruz at bestpractical.com ruz at bestpractical.com
Tue Nov 22 21:35:57 EST 2005


Author: ruz
Date: Tue Nov 22 21:35:56 2005
New Revision: 4135

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
Log:
 r1346 at cubic-pc:  cubic | 2005-11-22 10:40:26 +0300
 * fix glitches of the merge


Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Attachment_Overlay.pm	Tue Nov 22 21:35:56 2005
@@ -216,8 +216,8 @@
         unless ($id) {
             $RT::Logger->crit("Attachment insert failed - ".$RT::Handle->dbh->errstr);
         }
+        return ($id)
     }
-    return ($id)
 }
 
 # }}}
@@ -584,7 +584,7 @@
                           && $trx->CurrentUserHasRight('ShowTicketComments')
                         ) || $trx->CurrentUserHasRight('ShowTicket');
 
-    my $len = $self->GetHeader('Content-Length')) {
+    my $len = $self->GetHeader('Content-Length');
     unless ( $len ) {
         use bytes;
         $len = length($self->Content);


More information about the Rt-commit mailing list