X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Facct_sql.pm;fp=FS%2FFS%2Fpart_export%2Facct_sql.pm;h=4737638d4461ac10fddb89989840e503c4ff3bc0;hp=a4320e491c9b9c45578bb72db2feb3fd304481ef;hb=a0d361c10ed990a41dbd8f31787c5f19ebed246c;hpb=f7ac8653683327aee6f5e825c49f09d751e0c352 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;