summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-10 15:35:29 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-10-10 15:35:29 +0000
commitba5890bd2f14e916e47f17a79af49392487dbeb0 (patch)
tree1c3577dad252566b22ec88d8745342ace914d027 /sql
parentef0adaca475df108bb89e651c531599c23bb84e7 (diff)
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
Diffstat (limited to 'sql')
-rw-r--r--sql/modules/Account.sql2
1 files changed, 1 insertions, 1 deletions
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