From: ivan Date: Wed, 26 Oct 2011 22:51:36 +0000 (+0000) Subject: fix credit card banning w/encryption X-Git-Tag: freeside_2_3_1~195 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=a2924d91091f83a5fc593813b8de5976f1414b5d fix credit card banning w/encryption --- diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index 7531cf0f3..ece3a1684 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -2006,7 +2006,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; }