[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 240e34b1e964964525bc03c8571d7a0d00ccfad9

Evergreen Git git at git.evergreen-ils.org
Tue Oct 17 13:56:58 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_0 has been updated
       via  240e34b1e964964525bc03c8571d7a0d00ccfad9 (commit)
      from  bf110600bf0ebec99ef108ff0effd003c7fb607e (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 240e34b1e964964525bc03c8571d7a0d00ccfad9
Author: Cesar Velez <cesar.velez at equinoxinitiative.org>
Date:   Thu Sep 28 13:08:48 2017 -0400

    LP#1714060 -  fixes thinko when obeying patron.password.use_phone setting in patron regctl
    
    There was a bug, an undefined variable was being used to assign the last
    four digits of the day_phone to usr.passwd when this library setting
    was being used.
    
    Signed-off by: Cesar Velez <cesar.velez at equinoxinitiative.org>
    
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
index 728f176..3a8e460 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
@@ -1719,7 +1719,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
                 if ($scope.patron.day_phone && 
                     $scope.patron.isnew && 
                     $scope.org_settings['patron.password.use_phone']) {
-                    $scope.patron.passwd = phone.substr(-4);
+                    $scope.patron.passwd = $scope.patron.day_phone.substr(-4);
                 }
             case 'evening_phone' : 
             case 'other_phone' : 

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

Summary of changes:
 .../web/js/ui/default/staff/circ/patron/regctl.js  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list