[Rt-commit] [svn] r1954 - in rt/branches/3.0-MAINT: . lib/RT
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Fri Dec 3 17:45:24 EST 2004
Author: jesse
Date: Fri Dec 3 17:45:23 2004
New Revision: 1954
Modified:
rt/branches/3.0-MAINT/ (props changed)
rt/branches/3.0-MAINT/lib/RT/Ticket_Overlay.pm
Log:
r9452 at tinbook: jesse | 2004-12-03T22:45:06.230135Z
Minor bit of refactoring to make sure we set the "resolved" date on close.
Modified: rt/branches/3.0-MAINT/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.0-MAINT/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.0-MAINT/lib/RT/Ticket_Overlay.pm Fri Dec 3 17:45:23 2004
@@ -3313,8 +3313,7 @@
Value => $now->ISO,
RecordTransaction => 0 );
}
-
- if ( $args{Status} =~ /^(resolved|rejected|dead)$/ ) {
+ if ( $self->QueueObj->IsInactiveStatus($args{Status}) ) {
#When we resolve a ticket, set the 'Resolved' attribute to now.
$self->_Set( Field => 'Resolved',
More information about the Rt-commit
mailing list