Fix (hopefully) all uses of /elements/tr-select-agent.html where agentnum may be...
authorkhoff <khoff>
Fri, 11 May 2007 23:18:53 +0000 (23:18 +0000)
committerkhoff <khoff>
Fri, 11 May 2007 23:18:53 +0000 (23:18 +0000)
httemplate/search/report_cust_bill.html
httemplate/search/report_cust_credit.html
httemplate/search/report_cust_main-zip.html
httemplate/search/report_cust_pay.html
httemplate/search/report_cust_pay_batch.html
httemplate/search/report_cust_pkg.html

index 74b96cc..d684892 100644 (file)
@@ -5,7 +5,7 @@
 
 <TABLE>
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum') ? $cgi->param('agentnum') : '',
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'Invoices for agent: ',
              )
   %>
index 9932097..1399022 100644 (file)
@@ -18,7 +18,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>
index 1cd07ef..c5a64ae 100644 (file)
@@ -34,7 +34,7 @@
       </TR>
 
       <% include( '/elements/tr-select-agent.html',
-                     $cgi->param('agentnum'),
+                     ($cgi->param('agentnum') || ''),
                      'label' => 'for agent: ',
                  )
       %>
index 0327e04..b32b128 100644 (file)
@@ -49,7 +49,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>
index f57a955..4e8937c 100644 (file)
@@ -16,7 +16,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>
index 5b2efa2..1412816 100755 (executable)
@@ -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') || ''),
                )
     %>