From: dbs Date: Tue, 1 Mar 2011 22:27:43 +0000 (+0000) Subject: Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2864707ad6fa66f15792b8f5b9903120a662c82f;p=evergreen%2Ftadl.git 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 --- 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;