summaryrefslogtreecommitdiff
path: root/server/src/sessionparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/sessionparser.cc')
-rw-r--r--server/src/sessionparser.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/sessionparser.cc b/server/src/sessionparser.cc
index 856ce36..17cc4fb 100644
--- a/server/src/sessionparser.cc
+++ b/server/src/sessionparser.cc
@@ -68,7 +68,7 @@ void SessionParser::startTag(std::string name,
if(name == "journal") {
// patientid = attributes["patientid"];
- userid = attributes["userid"];
+ // userid = attributes["userid"];
}
if(name == "database") {
@@ -80,6 +80,7 @@ void SessionParser::startTag(std::string name,
Entry e;
e.index = atoi(attributes["index"].c_str());
e.macro = attributes["macro"];
+ e.user = attributes["user"];
entries.push_back(e);
}