[Rt-commit] r7555 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Wed Apr 18 20:51:21 EDT 2007
Author: jesse
Date: Wed Apr 18 20:51:20 2007
New Revision: 7555
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/html/Ticket/Display.html
Log:
r55720 at 241: jesse | 2007-04-18 15:37:35 -0400
* Attaching files could sometimes eat the messages in ticket replies.
Patch from Harry.Bochner at biogenidec.com
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 Wed Apr 18 20:51:20 2007
@@ -132,11 +132,12 @@
}
$ARGS{'UpdateContent'} =~ s/\r\n/\n/g if defined $ARGS{'UpdateContent'};
- if ( $ARGS{'UpdateTimeWorked'} || (
- defined $ARGS{'UpdateContent'}
- && $ARGS{'UpdateContent'} ne ''
- && $ARGS{'UpdateContent'} ne "-- \n"
- . $session{'CurrentUser'}->UserObj->Signature ) )
+ if ( $ARGS{'UpdateTimeWorked'}
+ || ($session{'Attachments'} && %{$session{'Attachments'}})
+ || (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