summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2011-10-26 22:51:36 +0000
committerivan <ivan>2011-10-26 22:51:36 +0000
commita2924d91091f83a5fc593813b8de5976f1414b5d (patch)
treecb61ad57056b7952cc25ddebdcf7662919c7aaba /FS
parentd8db2e251eefc361bf435ad5a4cae26785fc6799 (diff)
fix credit card banning w/encryption
Diffstat (limited to 'FS')
-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 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;
}