# Check for encrypted fields and decrypt them.
## only in the local copy, not the cached object
if ( $conf_encryption
# Check for encrypted fields and decrypt them.
## only in the local copy, not the cached object
if ( $conf_encryption
foreach my $record (@return) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
next if $field eq 'payinfo'
foreach my $record (@return) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
next if $field eq 'payinfo'
# Check for encrypted fields and decrypt them.
## only in the local copy, not the cached object
if ( $conf_encryption
# Check for encrypted fields and decrypt them.
## only in the local copy, not the cached object
if ( $conf_encryption
foreach my $record (@return) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
next if $field eq 'payinfo'
foreach my $record (@return) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
next if $field eq 'payinfo'