RT# 81126 - fixed require svc_broadband ip check
authorChristopher Burger <burgerc@freeside.biz>
Wed, 28 Nov 2018 15:30:35 +0000 (10:30 -0500)
committerChristopher Burger <burgerc@freeside.biz>
Wed, 28 Nov 2018 15:30:35 +0000 (10:30 -0500)
FS/FS/svc_broadband.pm

index d089f41..d05ae72 100755 (executable)
@@ -97,7 +97,7 @@ points to.  You can ask the object for a copy with the I<hash> method.
 
 sub table_info {
   my $conf = new FS::Conf;
 
 sub table_info {
   my $conf = new FS::Conf;
-  my $ip_addr_required = $conf->exists('svc_broadband-allow_null_ip_addr');
+  my $ip_addr_required = $conf->exists('svc_broadband-allow_null_ip_addr') ? '' : '1';
   {
     'name' => 'Wireless broadband',
     'name_plural' => 'Wireless broadband services',
   {
     'name' => 'Wireless broadband',
     'name_plural' => 'Wireless broadband services',