diff options
-rw-r--r-- | FS/FS/Record.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm index ad26d60..a038456 100644 --- a/FS/FS/Record.pm +++ b/FS/FS/Record.pm @@ -996,7 +996,7 @@ sub insert { && $conf->exists('encryption') ) { foreach my $field (eval '@FS::'. $table . '::encrypted_fields') { - $self->{'saved'} = $self->getfield($field); + $saved->{$field} = $self->getfield($field); $self->setfield($field, $self->encrypt($self->getfield($field))); } } |