X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FQueryString;h=b2a345f1fb37fa335faccb736f8fd63347185253;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=35a579c1ac44bb1ccfbd90da0c206c4a26c7ae8d;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/share/html/Elements/QueryString b/rt/share/html/Elements/QueryString index 35a579c1a..b2a345f1f 100644 --- a/rt/share/html/Elements/QueryString +++ b/rt/share/html/Elements/QueryString @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -54,11 +54,12 @@ for my $key (sort keys %ARGS) { if( UNIVERSAL::isa( $value, 'ARRAY' ) ) { push @params, map $key ."=". $m->interp->apply_escapes( $_, 'u' ), + map defined $_? $_ : '', @$value; } else { push @params, $key ."=". $m->interp->apply_escapes($value, 'u'); } } -return join '&', sort(@params); +return join '&', @params;