[open-ils-commits] r19555 - trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Mar 1 17:27:49 EST 2011


Author: dbs
Date: 2011-03-01 17:27:43 -0500 (Tue, 01 Mar 2011)
New Revision: 19555

Modified:
   trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
Log:
Prevent an unitialized variable warning when loading OpenILS::WWW::EgWeb


Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm	2011-03-01 22:27:03 UTC (rev 19554)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm	2011-03-01 22:27:43 UTC (rev 19555)
@@ -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