# Check for encrypted fields and decrypt them.
## only in the local copy, not the cached object
no warnings 'deprecated'; # XXX silence the warning for now
- if ( $conf_encryption
- && eval 'defined(@FS::'. $table . '::encrypted_fields)' ) {
+ if ( $conf_encryption
+ && eval '@FS::'. $table . '::encrypted_fields' ) {
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
- && eval 'defined(@FS::'. $table . '::encrypted_fields)' ) {
+ if ( $conf_encryption
+ && eval '@FS::'. $table . '::encrypted_fields' ) {
foreach my $record (@return) {
foreach my $field (eval '@FS::'. $table . '::encrypted_fields') {
next if $field eq 'payinfo'
libhtml-mason-psgihandler-perl,libdate-simple-perl,libsnmp-perl,
libemail-valid-perl,libparse-fixedlength-perl,libregexp-common-net-cidr-perl,
libnet-mac-vendor-perl,libnet-https-any-perl,
- libparams-classify-perl (>= 0.013-5.1), libarchive-zip-perl,
+ libparams-classify-perl (>= 0.013-5.1),
+ libcpanel-json-xs-perl, libarchive-zip-perl,
libtry-tiny-perl, libnumber-phone-perl, libxml-libxml-simple-perl,
libxml-writer-perl, libio-socket-ssl-perl,
libmap-splat-perl, libdatetime-format-ical-perl, librest-client-perl,