diff options
author | Christopher Burger <burgerc@freeside.biz> | 2019-01-03 12:38:32 -0500 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2019-01-03 12:38:32 -0500 |
commit | 80cea05076d397b3b06246a3df4451aea415e9fc (patch) | |
tree | 63ed368e066959a7e43d871098711133346eb6a5 /httemplate/search/cust_main.html | |
parent | 409cd8958c687ac468b4d4fbe84fefb8f1e2feec (diff) |
RT 81913 - fixed error with batch email from advanced customer reports and contacts report
Diffstat (limited to 'httemplate/search/cust_main.html')
-rwxr-xr-x | httemplate/search/cust_main.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html index 0a43a82dd..1cc44d68a 100755 --- a/httemplate/search/cust_main.html +++ b/httemplate/search/cust_main.html @@ -143,6 +143,8 @@ if ( $FS::CurrentUser::CurrentUser->access_right('Bulk send customer notices') ) # URI::query_from does not support hashref # results in: ...&contacts=HASH(0x55e16cb81da8)&... my %query_hash = %search_hash; + foreach (keys %{$query_hash{contacts}}) { $query_hash{$_} = $query_hash{contacts}{$_}; } + delete $query_hash{contacts} if exists $query_hash{contacts} && ref $query_hash{contacts}; |