[Jifty-commit] r948 - in jifty/trunk: lib/Jifty/Action
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Apr 27 14:16:20 EDT 2006
Author: alexmv
Date: Thu Apr 27 14:16:19 2006
New Revision: 948
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Action/Record.pm
Log:
r12669 at zoq-fot-pik: chmrr | 2006-04-27 14:15:55 -0400
* refers_to isn't actually a reference, it's a string.
UNIVERSAL::isa is actually (more) right here.
Modified: jifty/trunk/lib/Jifty/Action/Record.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record.pm Thu Apr 27 14:16:19 2006
@@ -153,7 +153,7 @@
elsif ( defined $column->refers_to ) {
my $refers_to = $column->refers_to;
- if ( ref($refers_to) and $refers_to->isa('Jifty::Record') ) {
+ if ( UNIVERSAL::isa($refers_to, 'Jifty::Record') ) {
my $collection = Jifty::Collection->new(
record_class => $refers_to,
More information about the Jifty-commit
mailing list