[rt-users] Doubs about RTFM-2.2.0RC2

Alex Vandiver alexmv at bestpractical.com
Tue Mar 28 15:52:25 EST 2006


On Tue, 2006-03-28 at 16:27 -0400, Pablo Silva wrote:
> So what's the next there is a patch for this?

This is already fixed in RT 3.5 and above -- I just backported the fix
into 3.4, as well.  Patch is below.
 - Alex

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-users mailing list