[Rt-devel] PATCH: silence warnings Ticket/ModifyAll.html

Jim Meyer purp at acm.org
Wed Nov 16 20:22:10 EST 2005


Attached.

--j
-- 
Jim Meyer, Geek at Large                                    purp at acm.org
-------------- next part --------------
--- share/html/Ticket/ModifyAll.html	2005-07-06 19:06:26.000000000 -0700
+++ local/html/Ticket/ModifyAll.html	2005-11-16 17:21:00.000000000 -0800
@@ -168,9 +168,9 @@
 	delete $ARGS{'UpdateAttachment'};
 	$ARGS{'UpdateAttachments'}->{ $subject } = $attachment;
     }
 
-    $ARGS{'UpdateContent'} =~ s/\r+\n/\n/g;
+    $ARGS{'UpdateContent'} =~ s/\r+\n/\n/g if $ARGS{'UpdateContent'};
 
     if ($ARGS{'UpdateAttachments'} || ( $ARGS{'UpdateContent'} && $ARGS{'UpdateContent'} ne  "-- \n" . 
 				$session{'CurrentUser'}->UserObj->Signature)) {
    	 ProcessUpdateMessage(TicketObj => $Ticket, ARGSRef=>\%ARGS, Actions=>\@results);


More information about the Rt-devel mailing list