summaryrefslogtreecommitdiff
path: root/httemplate/edit/agent.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-12-05 14:24:01 -0800
committerJeremy Davis <jeremyd@freeside.biz>2014-12-09 13:51:16 -0500
commit6199f898a744f2cc2f9f03450d49286866a3f4d0 (patch)
treec5956aba2e89a768f0f7bd0031518c982628d070 /httemplate/edit/agent.cgi
parentfa868107440f645205e7943fd370fb48e677f091 (diff)
disable agent types, RT#31446
Diffstat (limited to 'httemplate/edit/agent.cgi')
-rwxr-xr-xhttemplate/edit/agent.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/agent.cgi b/httemplate/edit/agent.cgi
index fe5b16417..0e070d374 100755
--- a/httemplate/edit/agent.cgi
+++ b/httemplate/edit/agent.cgi
@@ -35,7 +35,7 @@
<TH ALIGN="right">Agent type</TH>
<TD>
<SELECT NAME="typenum" SIZE=1>
-% foreach my $agent_type (qsearch('agent_type',{})) {
+% foreach my $agent_type ( qsearch('agent_type', { 'disabled'=>'' }) ) {
<OPTION VALUE="<% $agent_type->typenum %>"<% ( $agent->typenum && ( $agent->typenum == $agent_type->typenum ) ) ? ' SELECTED' : '' %>>
<% $agent_type->getfield('typenum') %>: <% $agent_type->getfield('atype') %>