X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_broadband.cgi;fp=httemplate%2Fedit%2Fsvc_broadband.cgi;h=374af4770ce29917dcd6f25e1f77150977f4c63a;hp=bcf55fe11a73cd9a1e37f32d8f016634846b885a;hb=8f377efa3643b02c7ab25c989903813591888a1a;hpb=a8d62307b05d924d3304fd7cf18177e2fc1c91f7 diff --git a/httemplate/edit/svc_broadband.cgi b/httemplate/edit/svc_broadband.cgi index bcf55fe11..374af4770 100644 --- a/httemplate/edit/svc_broadband.cgi +++ b/httemplate/edit/svc_broadband.cgi @@ -109,6 +109,7 @@ my @fields = ( return () unless $part_svc; #sanity check my $col = $part_svc->part_svc_column('ip_addr'); return () unless $col; #sanity check + $col->set('required', 'Y') unless $conf->exists('svc_broadband-allow_null_ip_addr'); return ('ip_addr_required' => $col->required); }, },