[Rt-commit] r3353 - in rt/branches/3.5-TESTING: . lib/RT

jesse at bestpractical.com jesse at bestpractical.com
Sun Jul 3 18:56:42 EDT 2005


Author: jesse
Date: Sun Jul  3 18:56:42 2005
New Revision: 3353

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/lib/RT/Record.pm
Log:
 r22207 at hualien:  jesse | 2005-07-03 18:23:10 -0400
  r22131 at hualien:  jesse | 2005-07-03 17:47:32 -0400
   r20562 at hualien:  jesse | 2005-06-15 18:59:20 -0400
   * When updating articles, we want to say "Updated Article" rather than "Updated FM"
   
   
  
 


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	Sun Jul  3 18:56:42 2005
@@ -918,7 +918,7 @@
         next if ( $value eq $self->$attribute() );
         my $method = "Set$attribute";
         my ( $code, $msg ) = $self->$method($value);
-        my ($prefix) = ref($self) =~ /RT::(\w+)/;
+        my ($prefix) = ref($self) =~ /RT(?:.*)::(\w+)/;
 
         # Default to $id, but use name if we can get it.
         my $label = $self->id;


More information about the Rt-commit mailing list