[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[3978] trunk/LedgerSMB/PE.pm



Revision: 3978
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3978&view=rev
Author:   ehuelsmann
Date:     2011-11-10 23:02:58 +0000 (Thu, 10 Nov 2011)
Log Message:
-----------
Remove references to non-existing table 'customer'.

Modified Paths:
--------------
    trunk/LedgerSMB/PE.pm

Modified: trunk/LedgerSMB/PE.pm
===================================================================
--- trunk/LedgerSMB/PE.pm	2011-11-10 22:35:18 UTC (rev 3977)
+++ trunk/LedgerSMB/PE.pm	2011-11-10 23:02:58 UTC (rev 3978)
@@ -635,21 +635,21 @@
 
     $query = qq|
 		SELECT count(*)
-		  FROM customer
+		  FROM entity_credit_account
 		 WHERE $where|;
     my ($count) = $dbh->selectrow_array($query);
 
     if ( $count < $myconfig->{vclimit} ) {
         $query = qq|
 			SELECT id, name
-			  FROM customer
+			  FROM entity_credit_account
 			 WHERE $where|;
 
         if ( $form->{customer_id} ) {
             $query .= qq|
 				UNION 
 				SELECT id,name
-				  FROM customer
+				  FROM entity_credit_account
 				 WHERE id = | . $dbh->quote( $form->{customer_id} );
         }
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.