[Rt-commit] r4847 - in rt/branches/3.4-RELEASE: .
    alexmv at bestpractical.com 
    alexmv at bestpractical.com
       
    Tue Mar 28 15:50:09 EST 2006
    
    
  
Author: alexmv
Date: Tue Mar 28 15:50:07 2006
New Revision: 4847
Modified:
   rt/branches/3.4-RELEASE/   (props changed)
   rt/branches/3.4-RELEASE/lib/RT/Record.pm
Log:
 r11918 at zoq-fot-pik:  chmrr | 2006-03-28 15:49:56 -0500
  * Backport TXN fixes from 3.7 and 3.5
Modified: rt/branches/3.4-RELEASE/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Record.pm	(original)
+++ rt/branches/3.4-RELEASE/lib/RT/Record.pm	Tue Mar 28 15:50:07 2006
@@ -1459,7 +1459,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