[Rt-commit] r4609 - in rt/branches/3.7-EXPERIMENTAL: .
alexmv at bestpractical.com
alexmv at bestpractical.com
Wed Mar 1 07:32:27 EST 2006
Author: alexmv
Date: Wed Mar 1 07:32:22 2006
New Revision: 4609
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Record.pm
Log:
r9383 at zoq-fot-pik: chmrr | 2006-03-01 06:30:28 -0500
* Not every RT::Record can _UpdateTimeTaken
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Record.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Record.pm Wed Mar 1 07:32:22 2006
@@ -1464,7 +1464,7 @@
$self->_SetLastUpdated;
- if ( defined $args{'TimeTaken'} ) {
+ if ( defined $args{'TimeTaken'} and $self->can('_UpdateTimeTaken')) {
$self->_UpdateTimeTaken( $args{'TimeTaken'} );
}
if ( RT->Config->Get('UseTransactionBatch') and $transaction ) {
More information about the Rt-commit
mailing list