[Rt-commit] r12135 - in rt/branches/3.8-TESTING: .

falcone at bestpractical.com falcone at bestpractical.com
Wed May 7 12:45:48 EDT 2008


Author: falcone
Date: Wed May  7 12:45:48 2008
New Revision: 12135

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/lib/RT/Config.pm

Log:
 r32247 at ketch:  falcone | 2008-05-07 12:44:19 -0400
 * the PostLoadCheck subroutine expects to be able to use
   $self->Set, so make sure $self is passed in as an arg


Modified: rt/branches/3.8-TESTING/lib/RT/Config.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Config.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Config.pm	Wed May  7 12:45:48 2008
@@ -356,7 +356,7 @@
 sub PostLoadCheck {
     my $self = shift;
     foreach my $o ( grep $META{$_}{'PostLoadCheck'}, $self->Options( Overridable => undef ) ) {
-        $META{$o}->{'PostLoadCheck'}->( $self->Get($o) );
+        $META{$o}->{'PostLoadCheck'}->( $self, $self->Get($o) );
     }
 }
 


More information about the Rt-commit mailing list