From 2864707ad6fa66f15792b8f5b9903120a662c82f Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 1 Mar 2011 22:27:43 +0000 Subject: [PATCH] Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb git-svn-id: svn://svn.open-ils.org/ILS/trunk@19555 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