[Rt-commit] r6184 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Wed Oct 11 17:22:59 EDT 2006
Author: ruz
Date: Wed Oct 11 17:22:33 2006
New Revision: 6184
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
r3925 at cubic-pc: cubic | 2006-10-12 00:55:30 +0400
* use Due argument only when it's defined as with other dates
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm Wed Oct 11 17:22:33 2006
@@ -437,8 +437,7 @@
#Set the due date. if we didn't get fed one, use the queue default due in
my $Due = new RT::Date( $self->CurrentUser );
-
- if ( $args{'Due'} ) {
+ if ( defined $args{'Due'} ) {
$Due->Set( Format => 'ISO', Value => $args{'Due'} );
}
elsif ( my $due_in = $QueueObj->DefaultDueIn ) {
More information about the Rt-commit
mailing list