added french version of "please come back later"
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index e18ba6c..d6f8e07 100644 (file)
@@ -61,7 +61,7 @@ __PACKAGE__->engine_class('Catalyst::Engine::CGI');
 __PACKAGE__->request_class('Catalyst::Request');
 __PACKAGE__->response_class('Catalyst::Response');
 
-our $VERSION = '5.67';
+our $VERSION = '5.678';
 
 sub import {
     my ( $class, @arguments ) = @_;
@@ -881,7 +881,7 @@ sub uri_for {
         if( $isa_ref and $isa_ref ne 'ARRAY' ) {\r
             croak( "Non-array reference ($isa_ref) passed to uri_for()" );\r
         }\r
-        utf8::encode( $_ ) for $isa_ref ? @$value : $value;\r
+        utf8::encode( $_ ) for grep { defined } $isa_ref ? @$value : $value;\r
     };
     
     # join args with '/', or a blank string