From: ivan Date: Thu, 21 Apr 2005 11:47:57 +0000 (+0000) Subject: fix nit with crypt flag when replacing too X-Git-Tag: BEFORE_FINAL_MASONIZE~566 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9e9e6b1f26ec10fb6622ade3712bfc06e9699987 fix nit with crypt flag when replacing too --- 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;