[open-ils-commits] r19557 - branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/WWW (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 1 17:33:55 EST 2011
Author: dbs
Date: 2011-03-01 17:33:49 -0500 (Tue, 01 Mar 2011)
New Revision: 19557
Modified:
branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
Log:
Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb
Modified: branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
===================================================================
--- branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm 2011-03-01 22:31:18 UTC (rev 19556)
+++ branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm 2011-03-01 22:33:49 UTC (rev 19557)
@@ -18,7 +18,7 @@
sub import {
my $self = shift;
- $web_config_file = shift;
+ $web_config_file = shift || '';
unless(-r $web_config_file) {
warn "Invalid web config $web_config_file";
return;
More information about the open-ils-commits
mailing list