diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2017-10-01 14:39:47 -0700 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-11-20 16:46:14 -0500 |
| commit | 9e867f9412a7d52e7d95e265f742a28facfd3e8d (patch) | |
| tree | fe16e7c29f59e2b84aa416694527d675aefb2699 | |
| parent | 482bcebb8d76081175201e444232b1408ea88e77 (diff) | |
fix error w/current perl - can't call keys on a scalar hashref anymore, RT#77532
Conflicts:
httemplate/search/cust_main.html
| -rwxr-xr-x | httemplate/search/cust_main.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 0d80b6dfe..d4b4fafc1 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -72,9 +72,13 @@ for my $param (qw( classnum refnum payby tagnum pkg_classnum )) { $search_hash{$param} = [ $cgi->param($param) ]; } +my $params = $cgi->Vars; + #contacts $search_hash{'contacts'} = { - map { $_ => $cgi->param($_), } grep { /^(contacts_*)/ && $cgi->param($_) } keys $cgi->Vars + map { $_ => $cgi->param($_), } + grep { /^(contacts_*)/ && $cgi->param($_) } + keys %$params }; ### |
