[freeside-commits] freeside/httemplate/search report_cust_bill.html, 1.5.2.1, 1.5.2.2 report_cust_credit.html, 1.10, 1.10.2.1 report_cust_main-zip.html, 1.3, 1.3.2.1 report_cust_pay.html, 1.15, 1.15.2.1 report_cust_pay_batch.html, 1.2, 1.2.2.1 report_cust_pkg.html, 1.6, 1.6.2.1

Kristian Hoffmann,420,, khoff at wavetail.420.am
Fri May 11 16:19:16 PDT 2007


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail:/tmp/cvs-serv8142/search

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	report_cust_bill.html report_cust_credit.html 
	report_cust_main-zip.html report_cust_pay.html 
	report_cust_pay_batch.html report_cust_pkg.html 
Log Message:
Fix (hopefully) all uses of /elements/tr-select-agent.html where agentnum may be undefined. (backport)


Index: report_cust_main-zip.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_main-zip.html,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- report_cust_main-zip.html	3 Feb 2007 11:36:30 -0000	1.3
+++ report_cust_main-zip.html	11 May 2007 23:19:13 -0000	1.3.2.1
@@ -34,7 +34,7 @@
       </TR>
 
       <% include( '/elements/tr-select-agent.html',
-                     $cgi->param('agentnum'),
+                     ($cgi->param('agentnum') || ''),
                      'label' => 'for agent: ',
                  )
       %>

Index: report_cust_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pkg.html,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- report_cust_pkg.html	14 Feb 2007 21:23:53 -0000	1.6
+++ report_cust_pkg.html	11 May 2007 23:19:14 -0000	1.6.2.1
@@ -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') || ''),
                )
     %>
 

Index: report_cust_credit.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_credit.html,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- report_cust_credit.html	3 Feb 2007 11:36:30 -0000	1.10
+++ report_cust_credit.html	11 May 2007 23:19:13 -0000	1.10.2.1
@@ -18,7 +18,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>

Index: report_cust_pay.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pay.html,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -d -r1.15 -r1.15.2.1
--- report_cust_pay.html	3 Feb 2007 11:36:30 -0000	1.15
+++ report_cust_pay.html	11 May 2007 23:19:14 -0000	1.15.2.1
@@ -49,7 +49,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>

Index: report_cust_bill.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_bill.html,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -u -d -r1.5.2.1 -r1.5.2.2
--- report_cust_bill.html	12 Apr 2007 17:37:41 -0000	1.5.2.1
+++ report_cust_bill.html	11 May 2007 23:19:13 -0000	1.5.2.2
@@ -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: report_cust_pay_batch.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_cust_pay_batch.html,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- report_cust_pay_batch.html	3 Feb 2007 11:36:30 -0000	1.2
+++ report_cust_pay_batch.html	11 May 2007 23:19:14 -0000	1.2.2.1
@@ -16,7 +16,7 @@
   </TR>
 
   <% include( '/elements/tr-select-agent.html',
-                 $cgi->param('agentnum'),
+                 ($cgi->param('agentnum') || ''),
                  'label' => 'for agent: ',
              )
   %>



More information about the freeside-commits mailing list