From 3dbd456dc4db97fb86d99f89e93ab86b4ab713cb Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 26 Oct 2011 22:51:34 +0000 Subject: [PATCH] fix credit card banning w/encryption --- FS/FS/Record.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 5bebbd5e4..72754d03d 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -1838,7 +1838,7 @@ sub _h_statement { ; # If we're encrypting then don't store the payinfo in the history - if ( $conf && $conf->exists('encryption') ) { + if ( $conf && $conf->exists('encryption') && $self->table ne 'banned_pay' ) { @fields = grep { $_ ne 'payinfo' } @fields; } -- 2.20.1