[freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.21, 1.22
Ivan,,,
ivan at wavetail.420.am
Mon Mar 15 00:13:51 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv2891
Modified Files:
svc_broadband.cgi
Log Message:
fix editing svc_broadband service w/no ip address, RT#7786
Index: svc_broadband.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_broadband.cgi,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -d -r1.21 -r1.22
--- svc_broadband.cgi 12 Mar 2010 11:48:45 -0000 1.21
+++ svc_broadband.cgi 15 Mar 2010 07:13:49 -0000 1.22
@@ -63,12 +63,12 @@
if $fieldref->{field} eq 'blocknum';
$fieldref->{value} = $object->addr_block->label
- if $fieldref->{field} eq 'block_label';
+ if $fieldref->{field} eq 'block_label' && $object->addr_block;
} else {
if ($fieldref->{field} eq 'block_label') {
- if ($fixedblock) {
+ if ($fixedblock && $object->addr_block) {
$object->blocknum($fixedblock);
$fieldref->{value} = $object->addr_block->label;
}else{
More information about the freeside-commits
mailing list