[Rt-commit] r8567 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Wed Aug 15 21:17:21 EDT 2007
Author: ruz
Date: Wed Aug 15 21:17:19 2007
New Revision: 8567
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Record.pm
Log:
* Class_accessible should work as class method too
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Record.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Record.pm Wed Aug 15 21:17:19 2007
@@ -713,7 +713,7 @@
sub _ClassAccessible {
my $self = shift;
- return $_TABLE_ATTR->{ref($self)};
+ return $_TABLE_ATTR->{ref($self) || $self};
}
=head2 _Accessible COLUMN ATTRIBUTE
More information about the Rt-commit
mailing list