[Rt-commit] r4962 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 4 13:54:22 EDT 2006


Author: ruz
Date: Tue Apr  4 13:54:21 2006
New Revision: 4962

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/QueryString

Log:
 r2303 at cubic-pc:  cubic | 2006-04-04 21:18:15 +0400
 * drop undefined values from query string


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/QueryString
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/QueryString	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/QueryString	Tue Apr  4 13:54:21 2006
@@ -46,6 +46,7 @@
 <%init>
 my @params;
 while ( my ($key, $value) = each %ARGS ){
+    next unless defined $value;
     if( UNIVERSAL::isa( $value, 'ARRAY' ) ) {
 	push @params, map $key."=".$m->interp->apply_escapes($_,'u'), @$value;
     } else {


More information about the Rt-commit mailing list