[Rt-commit] r18529 - rt/branches/3.6-RELEASE/html/Ticket
    elacour at bestpractical.com 
    elacour at bestpractical.com
       
    Mon Feb 23 09:51:35 EST 2009
    
    
  
Author: elacour
Date: Mon Feb 23 09:51:34 2009
New Revision: 18529
Modified:
   rt/branches/3.6-RELEASE/html/Ticket/Display.html
Log:
Fix: On comment/correspond, attached files are not recorded if comment/response
content is empty.
Modified: rt/branches/3.6-RELEASE/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Display.html	(original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Display.html	Mon Feb 23 09:51:34 2009
@@ -135,10 +135,10 @@
     }
 
     $ARGS{'UpdateContent'} =~ s/\r\n/\n/g if defined $ARGS{'UpdateContent'};
-    if ( defined $ARGS{'UpdateContent'}
+    if ( ( defined $ARGS{'UpdateContent'}
         && $ARGS{'UpdateContent'} ne ''
 	    && $ARGS{'UpdateContent'} ne "-- \n"
-	       . $session{'CurrentUser'}->UserObj->Signature )
+	       . $session{'CurrentUser'}->UserObj->Signature ) || $session{'Attachments'} )
     {
 	    $ARGS{UpdateAttachments} = $session{'Attachments'};
 	    ProcessUpdateMessage(
    
    
More information about the Rt-commit
mailing list