[freeside-commits] freeside/httemplate/search report_receivables.cgi, 1.22, 1.22.2.1

Ivan,,, ivan at wavetail.420.am
Wed May 3 02:47:34 PDT 2006


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

Modified Files:
      Tag: FREESIDE_1_5_BRANCH
	report_receivables.cgi 
Log Message:
pg 8.1 fix from Chris Cappuccio

Index: report_receivables.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/report_receivables.cgi,v
retrieving revision 1.22
retrieving revision 1.22.2.1
diff -u -d -r1.22 -r1.22.2.1
--- report_receivables.cgi	18 Nov 2005 15:08:56 -0000	1.22
+++ report_receivables.cgi	3 May 2006 09:47:32 -0000	1.22.2.1
@@ -110,7 +110,7 @@
     $owed_cols =~
       s/cust_bill\.custnum/cust_bill.custnum AND cust_main.agentnum = '$agentnum'/g;
   }
-  my $total_sql = "select $owed_cols";
+  my $total_sql = "select $owed_cols from cust_main";
   my $total_sth = dbh->prepare($total_sql) or die dbh->errstr;
   $total_sth->execute or die $total_sth->errstr;
   my $row = $total_sth->fetchrow_hashref();



More information about the freeside-commits mailing list