[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_6 updated. 49fb248cfc1033e3a962dd24a2f948c03be0031a
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_6 has been updated
via 49fb248cfc1033e3a962dd24a2f948c03be0031a (commit)
from ff71bd863c052ad386276ecbb3c9a1ecc6d2d469 (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 49fb248cfc1033e3a962dd24a2f948c03be0031a
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 1c6f444..77d6505 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
@@ -364,7 +364,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