diff options
author | deva <deva> | 2011-02-04 07:43:00 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-04 07:43:00 +0000 |
commit | bfe5d3000182cb10db583fe42ffa7b48f84d8b5b (patch) | |
tree | 8b4228e258716267e854975df7f8a01294c89562 /server/src/sessionparser.cc | |
parent | f825cb9f6f5a01f2029c79a363a89047b482c788 (diff) |
Session locking mechanism gone crazy. This needs a rewamp at some point.
Diffstat (limited to 'server/src/sessionparser.cc')
-rw-r--r-- | server/src/sessionparser.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/sessionparser.cc b/server/src/sessionparser.cc index f449ba5..9666c2f 100644 --- a/server/src/sessionparser.cc +++ b/server/src/sessionparser.cc @@ -60,11 +60,13 @@ void SessionParser::startTag(std::string name, DEBUG(sessionparser, "<%s>\n", name.c_str()); if(name == "session") { + patientid = attributes["patientid"]; sessionid = attributes["id"]; + templ = attributes["template"]; } if(name == "journal") { - patientid = attributes["patientid"]; + // patientid = attributes["patientid"]; userid = attributes["userid"]; } |