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 df33fdac2..2f65dc18b 100644 --- a/FS/FS/part_export/acct_sql.pm +++ b/FS/FS/part_export/acct_sql.pm @@ -148,7 +148,7 @@ sub _export_replace { 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'); $_ => $new->$value(@arg); } keys %map; |