[Jifty-commit] r1572 -
jifty/trunk/share/web/templates/__jifty/webservices
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Jul 14 15:13:59 EDT 2006
Author: nelhage
Date: Fri Jul 14 15:13:58 2006
New Revision: 1572
Modified:
jifty/trunk/share/web/templates/__jifty/webservices/xml
Log:
Let's not blow up if an action has a result that's an unblessed
reference.
Modified: jifty/trunk/share/web/templates/__jifty/webservices/xml
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/webservices/xml (original)
+++ jifty/trunk/share/web/templates/__jifty/webservices/xml Fri Jul 14 15:13:58 2006
@@ -68,8 +68,8 @@
# current_user->user_object is itself)
my $content = $results{$_}->content;
ref $content->{$_}
- and ( $content->{$_}->isa("Jifty::DBI::Record")
- or $content->{$_}->isa("Jifty::DBI::Collection") )
+ and ( ( UNIVERSAL::isa($content->{$_},"Jifty::DBI::Record"))
+ or ( UNIVERSAL::isa($content->{$_},"Jifty::DBI::Collection")) )
and delete $content->{$_}
for keys %{$content};
More information about the Jifty-commit
mailing list