summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2005-04-21 11:47:57 +0000
committerivan <ivan>2005-04-21 11:47:57 +0000
commit9e9e6b1f26ec10fb6622ade3712bfc06e9699987 (patch)
tree7b940a4062b1a59d9074956024386d17d5d56328 /FS
parentf441bdef352ddd432e305da35e80813ca30e517f (diff)
fix nit with crypt flag when replacing too
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_export/acct_sql.pm2
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;