From dd614f56d00806f5b24f3467e3c000542dcf65eb Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 1 Mar 2011 22:33:49 +0000 Subject: [PATCH] Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@19557 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm index 42eb6ffbf7..ec765af184 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm @@ -18,7 +18,7 @@ my $web_config_edit_time; 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; -- 2.11.0