summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/elements/select-agent.html2
-rw-r--r--httemplate/graph/report_cust_bill_pkg.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-agent.html b/httemplate/elements/select-agent.html
index e85ede5b8..3107ff9d4 100644
--- a/httemplate/elements/select-agent.html
+++ b/httemplate/elements/select-agent.html
@@ -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 '.
diff --git a/httemplate/graph/report_cust_bill_pkg.html b/httemplate/graph/report_cust_bill_pkg.html
index 664aab74e..c81e1e0e8 100644
--- a/httemplate/graph/report_cust_bill_pkg.html
+++ b/httemplate/graph/report_cust_bill_pkg.html
@@ -6,7 +6,7 @@
<% 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' ],