fix "use of uninitialized value in string eq" warning running freeside-setup
authorivan <ivan>
Tue, 19 Oct 2010 00:06:48 +0000 (00:06 +0000)
committerivan <ivan>
Tue, 19 Oct 2010 00:06:48 +0000 (00:06 +0000)
FS/FS/Conf.pm

index 55495e3..42efa79 100644 (file)
@@ -395,6 +395,7 @@ sub verify_config_item {
 
   } else {
 
+    no warnings 'uninitialized';
     $error .= "$key fails binary comparison; "
       unless scalar($self->config_binary($key)) eq scalar($compat->config_binary($key));