diff options
-rw-r--r-- | FS/FS/part_export/acct_sql.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/acct_sql.pm b/FS/FS/part_export/acct_sql.pm index a4320e491..4737638d4 100644 --- a/FS/FS/part_export/acct_sql.pm +++ b/FS/FS/part_export/acct_sql.pm @@ -112,7 +112,7 @@ sub _export_insert { my %record = map { my $value = $map{$_}; my @arg = (); push @arg, $self->option('crypt') - if $_ eq 'crypt_password' && $self->option('crypt'); + if $value eq 'crypt_password' && $self->option('crypt'); $_ => $svc_acct->$value(@arg); } keys %map; |