[freeside-commits] freeside/httemplate/edit svc_broadband.cgi, 1.20.2.1, 1.20.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Mar 15 00:13:52 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv2901
Modified Files:
Tag: FREESIDE_1_9_BRANCH
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.20.2.1
retrieving revision 1.20.2.2
diff -u -w -d -r1.20.2.1 -r1.20.2.2
--- svc_broadband.cgi 12 Mar 2010 11:50:08 -0000 1.20.2.1
+++ svc_broadband.cgi 15 Mar 2010 07:13:50 -0000 1.20.2.2
@@ -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