summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-10-26 22:51:34 +0000
committerivan <ivan>2011-10-26 22:51:34 +0000
commit3dbd456dc4db97fb86d99f89e93ab86b4ab713cb (patch)
tree4debb9454a5493b468a24238c75e1f7c2c00c7e3
parente71fac0b6c3a706e072f4bea1df57133897e2ac7 (diff)
fix credit card banning w/encryption
-rw-r--r--FS/FS/Record.pm2
1 files changed, 1 insertions, 1 deletions
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;
}