summaryrefslogtreecommitdiff
path: root/httemplate/elements/email-link.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/email-link.html')
-rw-r--r--httemplate/elements/email-link.html3
1 files changed, 2 insertions, 1 deletions
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');
</%init>