[Rt-commit] r5257 - rt/branches/3.4-RELEASE/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Thu May 18 21:53:41 EDT 2006
Author: ruz
Date: Thu May 18 21:53:40 2006
New Revision: 5257
Modified:
rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
Log:
* minor
Modified: rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Ticket_Overlay.pm Thu May 18 21:53:40 2006
@@ -440,9 +440,9 @@
if ( $args{'Due'} ) {
$Due->Set( Format => 'ISO', Value => $args{'Due'} );
}
- elsif ( $QueueObj->DefaultDueIn ) {
+ elsif ( my $due_in = $QueueObj->DefaultDueIn ) {
$Due->SetToNow;
- $Due->AddDays( $QueueObj->DefaultDueIn );
+ $Due->AddDays( $due_in );
}
my $Starts = new RT::Date( $self->CurrentUser );
More information about the Rt-commit
mailing list