[open-ils-commits] [GIT] Evergreen ILS branch master updated. 6ad3acf2af15f9050b0ad69fec15937e9c39c93a

Evergreen Git git at git.evergreen-ils.org
Tue Oct 17 13:56:47 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, master has been updated
       via  6ad3acf2af15f9050b0ad69fec15937e9c39c93a (commit)
      from  791fa3a99e5cac2dc339d9df558fa770d066f3c7 (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 6ad3acf2af15f9050b0ad69fec15937e9c39c93a
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 c190f4c..861488d 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
@@ -1721,7 +1721,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