[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_7 updated. 19833e4462769c98d2ce37a10975f0bc634f02c0

Evergreen Git git at git.evergreen-ils.org
Tue Dec 16 14:45:03 EST 2014


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_2_7 has been updated
       via  19833e4462769c98d2ce37a10975f0bc634f02c0 (commit)
      from  d24a74851de436340ab89e64ab25f6271f374f99 (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 19833e4462769c98d2ce37a10975f0bc634f02c0
Author: Dan Scott <dscott at laurentian.ca>
Date:   Sun Dec 7 08:51:33 2014 -0500

    LP#1400082 - avoid uninitialized var warning at TPAC login
    
    Give username a default value of '', which makes the regex happy (avoiding an
    uninit warning in Apache logs if no value was entered) and still counts as de
    nada for the purposes of the actual login dance.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
index 3d717ad..856b7de 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
@@ -383,7 +383,7 @@ sub load_login {
 
     $ctx->{page} = 'login';
 
-    my $username = $cgi->param('username');
+    my $username = $cgi->param('username') || '';
     $username =~ s/\s//g;  # Remove blanks
     my $password = $cgi->param('password');
     my $org_unit = $ctx->{physical_loc} || $ctx->{aou_tree}->()->id;

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

Summary of changes:
 .../src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list