[Rt-commit] r4268 - in rt/branches/CHALDEA-EXPERIMENTAL: . html/Ticket

jesse at bestpractical.com jesse at bestpractical.com
Thu Dec 8 00:45:05 EST 2005


Author: jesse
Date: Thu Dec  8 00:45:05 2005
New Revision: 4268

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html
Log:
 r19797 at truegrounds:  jesse | 2005-12-08 00:42:14 -0500
  *Also, deal with the case where the user doesn't change either value


Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Ticket/ModifyAll.html	Thu Dec  8 00:45:05 2005
@@ -149,10 +149,13 @@
 
 unless ($OnlySearchForPeople) {
     # There might be two owners. 
-    if ( ref ($ARGS{'Owner'} )) { 
-        foreach my $owner(@{$ARGS{'Owner'}}) {
+    if ( ref ($ARGS{'Owner'} )) {
+        my @owners =@{$ARGS{'Owner'}};
+        delete $ARGS{'Owner'};
+        foreach my $owner(@owners){
             $ARGS{'Owner'} = $owner unless ($Ticket->OwnerObj->id == $owner);
         }
+
     }
 
     @wresults = ProcessTicketWatchers( TicketObj => $Ticket, ARGSRef => \%ARGS);


More information about the Rt-commit mailing list