summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorkhoff <khoff>2007-05-11 23:18:53 +0000
committerkhoff <khoff>2007-05-11 23:18:53 +0000
commitf145ba710c004d0735caae621004d2776b178a6e (patch)
treec58fff1fc91909b923ee23bffccb481decdea412 /httemplate
parenta1e4aa786071d585f873b9aa3531dd605d7bc57b (diff)
Fix (hopefully) all uses of /elements/tr-select-agent.html where agentnum may be undefined.
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/search/report_cust_bill.html2
-rw-r--r--httemplate/search/report_cust_credit.html2
-rw-r--r--httemplate/search/report_cust_main-zip.html2
-rw-r--r--httemplate/search/report_cust_pay.html2
-rw-r--r--httemplate/search/report_cust_pay_batch.html2
-rwxr-xr-xhttemplate/search/report_cust_pkg.html2
6 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
index 74b96cc90..d6848921e 100644
--- a/httemplate/search/report_cust_bill.html
+++ b/httemplate/search/report_cust_bill.html
@@ -5,7 +5,7 @@
<TABLE>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum') ? $cgi->param('agentnum') : '',
+ ($cgi->param('agentnum') || ''),
'label' => 'Invoices for agent: ',
)
%>
diff --git a/httemplate/search/report_cust_credit.html b/httemplate/search/report_cust_credit.html
index 993209763..139902228 100644
--- a/httemplate/search/report_cust_credit.html
+++ b/httemplate/search/report_cust_credit.html
@@ -18,7 +18,7 @@
</TR>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum'),
+ ($cgi->param('agentnum') || ''),
'label' => 'for agent: ',
)
%>
diff --git a/httemplate/search/report_cust_main-zip.html b/httemplate/search/report_cust_main-zip.html
index 1cd07ef76..c5a64ae7a 100644
--- a/httemplate/search/report_cust_main-zip.html
+++ b/httemplate/search/report_cust_main-zip.html
@@ -34,7 +34,7 @@
</TR>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum'),
+ ($cgi->param('agentnum') || ''),
'label' => 'for agent: ',
)
%>
diff --git a/httemplate/search/report_cust_pay.html b/httemplate/search/report_cust_pay.html
index 0327e042e..b32b1287e 100644
--- a/httemplate/search/report_cust_pay.html
+++ b/httemplate/search/report_cust_pay.html
@@ -49,7 +49,7 @@
</TR>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum'),
+ ($cgi->param('agentnum') || ''),
'label' => 'for agent: ',
)
%>
diff --git a/httemplate/search/report_cust_pay_batch.html b/httemplate/search/report_cust_pay_batch.html
index f57a9557e..4e8937cac 100644
--- a/httemplate/search/report_cust_pay_batch.html
+++ b/httemplate/search/report_cust_pay_batch.html
@@ -16,7 +16,7 @@
</TR>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum'),
+ ($cgi->param('agentnum') || ''),
'label' => 'for agent: ',
)
%>
diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html
index 5b2efa2ca..1412816c9 100755
--- a/httemplate/search/report_cust_pkg.html
+++ b/httemplate/search/report_cust_pkg.html
@@ -9,7 +9,7 @@
<TH BGCOLOR="#e8e8e8" COLSPAN=2 ALIGN="left"><FONT SIZE="+1">Search options</FONT></TH>
</TR>
<% include( '/elements/tr-select-agent.html',
- $cgi->param('agentnum'),
+ ($cgi->param('agentnum') || ''),
)
%>