summaryrefslogtreecommitdiff
path: root/src/csv.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-12 14:55:18 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-12 14:55:18 -0400
commit28c65cda512135bde36542351533941b019b6ee8 (patch)
treea321ec72cc0aff1a90dabe8ab07500afb1599fac /src/csv.cc
parenta1fc3c5cfe2ff1fa01c488d4e130b6592be1f111 (diff)
downloadfork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.gz
fork-ledger-28c65cda512135bde36542351533941b019b6ee8.tar.bz2
fork-ledger-28c65cda512135bde36542351533941b019b6ee8.zip
Store metadata values as value_t instead of string
Diffstat (limited to 'src/csv.cc')
-rw-r--r--src/csv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csv.cc b/src/csv.cc
index 53a1ad98..dd5ca935 100644
--- a/src/csv.cc
+++ b/src/csv.cc
@@ -237,7 +237,7 @@ xact_t * csv_reader::read_xact(journal_t& journal, account_t * bucket)
case FIELD_UNKNOWN:
if (! names[n].empty() && ! field.empty())
- xact->set_tag(names[n], field);
+ xact->set_tag(names[n], string_value(field));
break;
}
n++;