X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Femail-link.html;h=16935cf985cd985d009617ee025e72126fc50550;hb=796780078517c26803a7689ccd80931381de23ea;hp=2612faabb8480c71212910db90cba40bd0ff8636;hpb=4aa7ddaf3e491d34a8caaa7869ccd83dc6d50d52;p=freeside.git diff --git a/httemplate/elements/email-link.html b/httemplate/elements/email-link.html index 2612faabb..16935cf98 100644 --- a/httemplate/elements/email-link.html +++ b/httemplate/elements/email-link.html @@ -10,7 +10,8 @@ die "'table' required" if !$table; die "'search_hash' required" if !$search_hash; my $uri = new URI; -$uri->query_form($search_hash); +my @params = map { $_, $search_hash->{$_} } sort keys %$search_hash; +$uri->query_form(@params); my $query = $uri->query; my $label = ($opt{'label'} || 'Email a notice to these customers');