From ba5890bd2f14e916e47f17a79af49392487dbeb0 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 10 Oct 2008 15:35:29 +0000 Subject: merging in fix for OE generation git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2361 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/Account.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/modules/Account.sql b/sql/modules/Account.sql index 36275744..2265508a 100644 --- a/sql/modules/Account.sql +++ b/sql/modules/Account.sql @@ -13,7 +13,7 @@ $$ LANGUAGE plpgsql; CREATE OR REPLACE FUNCTION account_is_orphaned (in_id int) RETURNS bool AS $$ BEGIN - SELECT trans_id FROM acc_trans WHERE chart_id = in_id LIMIT 1; + PERFORM trans_id FROM acc_trans WHERE chart_id = in_id LIMIT 1; IF FOUND THEN RETURN true; ELSE -- cgit v1.2.3