summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorsteve <steve>2002-12-14 11:17:27 +0000
committersteve <steve>2002-12-14 11:17:27 +0000
commit9d722730eba9b3d03b6a68615e99d5de9b830111 (patch)
tree30ba8413572bc53caa5108a7ae34571e238d069e /FS/FS
parent8696d75137d1cbdcf40bf66af0438f45f20f1d1a (diff)
add email address to shellcommands
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/part_export/shellcommands.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm
index 04e5041c3..3d3e88ea4 100644
--- a/FS/FS/part_export/shellcommands.pm
+++ b/FS/FS/part_export/shellcommands.pm
@@ -39,6 +39,9 @@ sub _export_command {
no strict 'refs';
${$_} = $svc_acct->getfield($_) foreach $svc_acct->fields;
}
+ $email = ( grep { $_ ne 'POST' }
+ $svc_acct->cust_svc->cust_pkg->cust_main->invoicing_list
+ )[0];
$finger = shell_quote $finger;
$quoted_password = shell_quote $_password;
$domain = $svc_acct->domain;