summaryrefslogtreecommitdiff
path: root/LedgerSMB/Mailer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Mailer.pm')
-rwxr-xr-xLedgerSMB/Mailer.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Mailer.pm b/LedgerSMB/Mailer.pm
index 22574827..b8d50ba5 100755
--- a/LedgerSMB/Mailer.pm
+++ b/LedgerSMB/Mailer.pm
@@ -151,7 +151,7 @@ sub send {
sub encode_base64 ($;$) {
use MIME::Base64;
- return MIME::Base64::encode($_[1], $_[2]);
+ return MIME::Base64::encode($_[0], $_[1]);
}