summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-28 05:35:34 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-28 05:35:34 +0000
commit93c240a9788ce8085ef68b76cf82efc0606fea2f (patch)
tree0036d37ed0ae40ba56e65c07c1cc1812e1c73d50 /sql
parent13312601ce94bcc19d3f6af0627cb373492c0367 (diff)
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
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Company.sql2
1 files changed, 1 insertions, 1 deletions
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,