[Jifty-commit] r2554 - in jifty/trunk: lib/Jifty/Plugin/REST

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Wed Jan 24 22:33:07 EST 2007


Author: trs
Date: Wed Jan 24 22:33:06 2007
New Revision: 2554

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm

Log:
 r19053 at zot:  tom | 2007-01-24 22:32:57 -0500
 Make sure undefined values stay undefined and not ''


Modified: jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm	Wed Jan 24 22:33:06 2007
@@ -46,7 +46,7 @@
 
 sub stringify {
     no warnings 'uninitialized';
-    my @r = map { '' . $_ } @_;
+    my @r = map { defined $_ ? '' . $_ : undef } @_;
     return wantarray ? @r : pop @r;
 }
 


More information about the Jifty-commit mailing list