summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-10-01 15:26:32 -0700
committerMark Wells <mark@freeside.biz>2014-10-01 15:26:32 -0700
commit1ad229e71846b8bbad4ac6272ae75af89e51d0e3 (patch)
treec1fc5d2a42be0451a7f9a004055782f9c93b920c
parentfa9e50e040977723813e884f93f7f7c5819c9037 (diff)
ensure deploy zones have a description, #24047
-rw-r--r--FS/FS/deploy_zone.pm2
-rw-r--r--httemplate/browse/deploy_zone.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/deploy_zone.pm b/FS/FS/deploy_zone.pm
index 16f59c8..6142b91 100644
--- a/FS/FS/deploy_zone.pm
+++ b/FS/FS/deploy_zone.pm
@@ -181,7 +181,7 @@ sub check {
my $error =
$self->ut_numbern('zonenum')
- || $self->ut_textn('description')
+ || $self->ut_text('description')
|| $self->ut_number('agentnum')
|| $self->ut_foreign_key('agentnum', 'agent', 'agentnum')
|| $self->ut_textn('dbaname')
diff --git a/httemplate/browse/deploy_zone.html b/httemplate/browse/deploy_zone.html
index ddfbde4..3bd9d07 100644
--- a/httemplate/browse/deploy_zone.html
+++ b/httemplate/browse/deploy_zone.html
@@ -52,7 +52,7 @@
'(adv_speed_down, adv_speed_up)',
'(cir_speed_down, cir_speed_up)',
],
- links => [ '', $link_fixed, ],
+ links => [ $link_fixed, $link_fixed, ],
align => 'clllllr',
nohtmlheader => 1,
disable_maxselect => 1,