[Rt-commit] r4688 - in rt/branches/3.5-TESTING: lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Sat Mar 4 17:51:25 EST 2006
Author: jesse
Date: Sat Mar 4 17:51:25 2006
New Revision: 4688
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/lib/RT/Record.pm
Log:
r25526 at truegrounds: jesse | 2006-03-04 14:49:56 -0800
* If a given txn is on something other than a ticket, don't try to update its TimeTaken
Modified: rt/branches/3.5-TESTING/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.5-TESTING/lib/RT/Record.pm (original)
+++ rt/branches/3.5-TESTING/lib/RT/Record.pm Sat Mar 4 17:51:25 2006
@@ -1466,7 +1466,7 @@
$self->_SetLastUpdated;
- if ( defined $args{'TimeTaken'} ) {
+ if ( defined $args{'TimeTaken'} and $self->can('_UpdateTimeTaken')) {
$self->_UpdateTimeTaken( $args{'TimeTaken'} );
}
if ( $RT::UseTransactionBatch and $transaction ) {
More information about the Rt-commit
mailing list