[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 8ee660ea1964c774b82157c717efb4f884f666fe
Evergreen Git
git at git.evergreen-ils.org
Tue Dec 16 14:45:02 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, master has been updated
via 8ee660ea1964c774b82157c717efb4f884f666fe (commit)
from da51e171221f407edf65a6df2aef96ea2a1e1433 (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 8ee660ea1964c774b82157c717efb4f884f666fe
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