[rt-commit] [svn] r547 - rt/branches/rt-3.1/lib/RT

leira at fsck.com leira at fsck.com
Thu Mar 11 02:21:45 EST 2004


Author: leira
Date: Thu Mar 11 02:21:45 2004
New Revision: 547

Modified:
   rt/branches/rt-3.1/lib/RT/Ticket_Overlay.pm
Log:
Make sure Priority is 0, not ''.


Modified: rt/branches/rt-3.1/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Ticket_Overlay.pm	(original)
+++ rt/branches/rt-3.1/lib/RT/Ticket_Overlay.pm	Thu Mar 11 02:21:45 2004
@@ -377,13 +377,13 @@
 
     # If there's no queue default initial priority and it's not set, set it to 0
     $args{'InitialPriority'} = ( $QueueObj->InitialPriority || 0 )
-      unless ( defined $args{'InitialPriority'} );
+      unless ( $args{'InitialPriority'} );
 
     #Final priority 
 
     # If there's no queue default final priority and it's not set, set it to 0
     $args{'FinalPriority'} = ( $QueueObj->FinalPriority || 0 )
-      unless ( defined $args{'FinalPriority'} );
+      unless ( $args{'FinalPriority'} );
 
     # Priority may have changed from InitialPriority, for the case
     # where we're importing tickets (eg, from an older RT version.)



More information about the Rt-commit mailing list