[freeside-commits] branch FREESIDE_3_BRANCH updated. f8022b72274f5f1177e82fa58265ecf884defb5d

Ivan Kohler ivan at freeside.biz
Thu Jan 11 12:49:42 PST 2018


The branch, FREESIDE_3_BRANCH has been updated
       via  f8022b72274f5f1177e82fa58265ecf884defb5d (commit)
      from  480474201737a3ea4dc91e4ac6604a4d73300f53 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f8022b72274f5f1177e82fa58265ecf884defb5d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Sep 4 22:33:30 2013 -0700

    defined(@array) is deprecated

diff --git a/FS/FS/Record.pm b/FS/FS/Record.pm
index e646b399e..851285283 100644
--- a/FS/FS/Record.pm
+++ b/FS/FS/Record.pm
@@ -556,8 +556,8 @@ sub qsearch {
     # 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'
@@ -765,8 +765,8 @@ sub _from_hashref {
 
     # 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'
diff --git a/debian/control b/debian/control
index 0e3b4b30c..2d4475c1a 100644
--- a/debian/control
+++ b/debian/control
@@ -84,7 +84,8 @@ Depends: aspell-en,gnupg,ghostscript,gsfonts,gzip,latex-xcolor,
  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,

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Record.pm | 8 ++++----
 debian/control  | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)




More information about the freeside-commits mailing list