<% include( '/elements/select-table.html',
'table' => 'agent',
'name_col' => 'agent',
- 'value' => $agentnum,
+ 'value' => $agentnum || '',
'empty_label' => 'all',
'hashref' => { 'disabled' => '' },
'extra_sql' => ' AND '.
<% include('/elements/tr-select-from_to.html' ) %>
-<% include('/elements/tr-select-agent.html', 'label' => 'For agent: ' ) %>
+<% include('/elements/tr-select-agent.html', '', 'label' => 'For agent: ' ) %>
<% include('/elements/tr-select-pkg_class.html', '',
'pre_options' => [ '0' => 'all' ],