summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhoff <khoff>2007-05-11 23:19:14 +0000
committerkhoff <khoff>2007-05-11 23:19:14 +0000
commit39af7e54f1c6cc068ba7d980d7ababdb88d8ae68 (patch)
treed3663ae9fc713554a02a279835f394bd54d33e81
parentbf33a68cb21ef3a4596cafe0996f0f9e61367500 (diff)
Fix (hopefully) all uses of /elements/tr-select-agent.html where agentnum may be undefined. (backport)
-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') || ''),
)
%>