
falcone at bestpractical
May 7, 2008, 9:45 AM
Post #1 of 1
(36 views)
Permalink
|
|
r12135 - in rt/branches/3.8-TESTING: .
|
|
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) ); } } _______________________________________________ Rt-commit mailing list Rt-commit[at]lists.bestpractical.com http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
|