From 93c240a9788ce8085ef68b76cf82efc0606fea2f Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
Date: Wed, 28 Nov 2007 05:35:34 +0000
Subject: A trivial fix to Company.sql

git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1913 4979c152-3d1c-0410-bac9-87ea11338e46
---
 sql/modules/Company.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sql/modules/Company.sql')

diff --git a/sql/modules/Company.sql b/sql/modules/Company.sql
index 231462a9..8d78c946 100644
--- a/sql/modules/Company.sql
+++ b/sql/modules/Company.sql
@@ -53,7 +53,7 @@ CREATE OR REPLACE FUNCTION entity__retrieve_credit
 (in_entity_id int, in_entity_class int) 
 RETURNS entity_credit_search_return AS
 $$
-DECLARE out_row customer_search_return;
+DECLARE out_row entity_credit_search_return;
 BEGIN
 	
 	SELECT c.legal_name, c.id, e.id, ec.entity_class, ec.discount,
-- 
cgit v1.2.3

