[Rt-commit] r7893 - rt/branches/3.6-RELEASE/html/Ticket

ruz at bestpractical.com ruz at bestpractical.com
Thu May 17 00:08:28 EDT 2007


Author: ruz
Date: Thu May 17 00:08:14 2007
New Revision: 7893

Modified:
   rt/branches/3.6-RELEASE/html/Ticket/Display.html

Log:
* revert revision 7555 as it may result in attachments loosing

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	Thu May 17 00:08:14 2007
@@ -134,12 +134,11 @@
     }
 
     $ARGS{'UpdateContent'} =~ s/\r\n/\n/g if defined $ARGS{'UpdateContent'};
-    if ( $ARGS{'UpdateTimeWorked'}
-         || ($session{'Attachments'} && %{$session{'Attachments'}})
-         || (defined $ARGS{'UpdateContent'}
-             && $ARGS{'UpdateContent'} ne ''
-             && $ARGS{'UpdateContent'} ne
-                 "-- \n" . $session{'CurrentUser'}->UserObj->Signature ) )
+    if ( $ARGS{'UpdateTimeWorked'} || (
+        defined $ARGS{'UpdateContent'}
+        && $ARGS{'UpdateContent'} ne ''
+	    && $ARGS{'UpdateContent'} ne "-- \n"
+	       . $session{'CurrentUser'}->UserObj->Signature ) )
     {
 	    $ARGS{UpdateAttachments} = $session{'Attachments'};
 	    ProcessUpdateMessage(


More information about the Rt-commit mailing list