summaryrefslogtreecommitdiff
path: root/sql/modules
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-04-07 22:28:06 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2008-04-07 22:28:06 +0000
commit51b0e95ee7793a6903d4290deed2bbd9e19b006f (patch)
tree83a6dd11773aca37567cccc32677793a595548ea /sql/modules
parentfd92b8896f9246755869ef2c40931876fad13842 (diff)
Correcting issue with loading Session.pm
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2129 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'sql/modules')
-rw-r--r--sql/modules/Session.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/modules/Session.sql b/sql/modules/Session.sql
index 0a1e97f6..e0547c22 100644
--- a/sql/modules/Session.sql
+++ b/sql/modules/Session.sql
@@ -12,6 +12,7 @@ BEGIN
RETURN TRUE;
ELSE RETURN FALSE;
+ END IF;
END;
$$ language plpgsql;
@@ -22,7 +23,7 @@ BEGIN
INSERT INTO open_forms (session_id) VALUES (in_session_id);
RETURN currval('form_id_seq');
END;
-$$ LANGUAGE PLPGSQL
+$$ LANGUAGE PLPGSQL;
CREATE OR REPLACE FUNCTION session_check(in_session_id int, in_token text)
RETURNS session AS