diff options
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/tr-select-agent_type.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/httemplate/elements/tr-select-agent_type.html b/httemplate/elements/tr-select-agent_type.html index 9ea943b51..3e6ce0752 100644 --- a/httemplate/elements/tr-select-agent_type.html +++ b/httemplate/elements/tr-select-agent_type.html @@ -7,11 +7,10 @@ <TR> <TD ALIGN="right"><% $opt{'label'} || 'Agent Type' %></TD> <TD> - <% include( '/elements/select-agent_type.html', - 'curr_value' => $typenum, - %opt, - ) - %> + <& /elements/select-agent_type.html, + 'curr_value' => $typenum, + %opt, + &> </TD> </TR> @@ -22,6 +21,6 @@ my %opt = @_; my $typenum = $opt{'curr_value'} || $opt{'value'}; -my @agent_types = qsearch('agent_type', {}); +my @agent_types = qsearch('agent_type', { 'disabled' => '' }); </%init> |