correct bad include, and improve no agent selected condition
[freeside.git] / httemplate / elements / select-agent.html
index e85ede5..3107ff9 100644 (file)
@@ -8,7 +8,7 @@
 <% include( '/elements/select-table.html',
                  'table'       => 'agent',
                  'name_col'    => 'agent',
-                 'value'       => $agentnum,
+                 'value'       => $agentnum || '',
                  'empty_label' => 'all',
                  'hashref'     => { 'disabled' => '' },
                  'extra_sql'   => ' AND '.