X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FRecord.pm;h=ece3a16849e90241f855720d725a72d9049bc081;hb=dafdfc24616b04a5ff594da31e2cdd03f58634b6;hp=7531cf0f33b8aad23bb044a72803cd2383358e86;hpb=d8db2e251eefc361bf435ad5a4cae26785fc6799;p=freeside.git 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; }