summaryrefslogtreecommitdiff
path: root/FS/FS/Misc.pm
diff options
context:
space:
mode:
authorkhoff <khoff>2003-06-11 19:13:43 +0000
committerkhoff <khoff>2003-06-11 19:13:43 +0000
commitf012a5c9f502bc480414686b44c41df0b27c8b2f (patch)
treeffdb0cc350250d89e96fc4c72c89f667d0c909a4 /FS/FS/Misc.pm
parent19270ddc47dead26e94d01a78dd4a5e8313ffdac (diff)
We're passing a list here, not one argument.
Diffstat (limited to 'FS/FS/Misc.pm')
-rw-r--r--FS/FS/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
index 56dc72e..1f95159 100644
--- a/FS/FS/Misc.pm
+++ b/FS/FS/Misc.pm
@@ -54,7 +54,7 @@ FS::UID->install_callback( sub {
} );
sub send_email {
- my(%options) = shift;
+ my(%options) = @_;
$ENV{MAILADDRESS} = $options{'from'};
my $to = ref($options{to}) ? join(', ', @{ $options{to} } ) : $options{to};