summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
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