[Jifty-commit] r6347 - in jifty/trunk: lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 18 14:56:08 EST 2009


Author: alexmv
Date: Wed Feb 18 14:56:08 2009
New Revision: 6347

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Test.pm

Log:
 r42160 at kohr-ah:  chmrr | 2009-02-18 14:49:19 -0500
  * Catch the case when $args is undef


Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm	(original)
+++ jifty/trunk/lib/Jifty/Test.pm	Wed Feb 18 14:56:08 2009
@@ -179,6 +179,7 @@
     require Jifty::Server;
     require Jifty::Script::Schema;
 
+    $args ||= [];
     my %args = @{$args} % 2 ? (@{$args}, 1) : @{$args};
     $class->builder->{no_handle} = $args{no_handle};
 


More information about the Jifty-commit mailing list