summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_hardware.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-03-10 22:28:34 -0700
committerIvan Kohler <ivan@freeside.biz>2013-03-10 22:28:34 -0700
commit57c5cf47f41739b57c563ddac09d0bd49d6d67b4 (patch)
tree187f1fdd593bbaeea03dfb2bd473a4dfe502f775 /httemplate/view/svc_hardware.cgi
parentf37b4c3e04f6dfc56ba967e270b5b49edafe81f6 (diff)
hide svc_phone.sip_password like svc_acct._password unless showpasswords config is on, RT#20862
Diffstat (limited to 'httemplate/view/svc_hardware.cgi')
-rw-r--r--httemplate/view/svc_hardware.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/view/svc_hardware.cgi b/httemplate/view/svc_hardware.cgi
index 7f5e889d8..aa3ff0091 100644
--- a/httemplate/view/svc_hardware.cgi
+++ b/httemplate/view/svc_hardware.cgi
@@ -15,15 +15,15 @@ my %labels = map { $_ => ( ref($fields->{$_})
} keys %$fields;
my $model = { field => 'typenum',
type => 'text',
- value => sub { $_[0]->hardware_type->description }
+ value_callback => sub { $_[0]->hardware_type->description }
};
my $status = { field => 'statusnum',
type => 'text',
- value => sub { $_[0]->status_label }
+ value_callback => sub { $_[0]->status_label }
};
my $note = { field => 'note',
type => 'text',
- value => sub { encode_entities($_[0]->note) }
+ value_callback => sub { encode_entities($_[0]->note) }
};
my @fields = (