From 433e741a51ff174e4d4bc039e68bab32072e67a7 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Mon, 1 Oct 2001 08:23:30 +0000 Subject: [PATCH] Fix bug -- restore iguid. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5451 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/backend/postgres/account.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/postgres/account.c b/src/backend/postgres/account.c index 88380b07fc..808051bc7c 100644 --- a/src/backend/postgres/account.c +++ b/src/backend/postgres/account.c @@ -266,6 +266,7 @@ get_account_cb (PGBackend *be, PGresult *result, int j, gpointer data) xaccAccountSetCommodity(acc, gnc_string_to_commodity (DB_GET_VAL("commodity",j))); xaccAccountSetVersion(acc, atoi(DB_GET_VAL("version",j))); + acc->idata = atoi(DB_GET_VAL("iguid",j)); /* try to find the parent account */ PINFO ("parent GUID=%s", DB_GET_VAL("parentGUID",j));