[Jifty-commit] r4527 - in Net-Jifty: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Nov 21 16:55:51 EST 2007


Author: sartak
Date: Wed Nov 21 16:55:50 2007
New Revision: 4527

Modified:
   Net-Jifty/   (props changed)
   Net-Jifty/lib/Net/Jifty.pm

Log:
 r45514 at onn:  sartak | 2007-11-21 16:54:39 -0500
 Get rid of undef warning when calling read without all of its arguments (to list a model's schema, for instance)


Modified: Net-Jifty/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/lib/Net/Jifty.pm	(original)
+++ Net-Jifty/lib/Net/Jifty.pm	Wed Nov 21 16:55:50 2007
@@ -424,7 +424,7 @@
 sub join_url {
     my $self = shift;
 
-    return join '/', map { $self->escape($_) } @_
+    return join '/', map { $self->escape($_) } grep { defined } @_
 }
 
 =head2 escape Strings


More information about the Jifty-commit mailing list