summaryrefslogtreecommitdiff
path: root/server/src/sessionserialiser.cc
diff options
context:
space:
mode:
authordeva <deva>2011-01-28 08:50:42 +0000
committerdeva <deva>2011-01-28 08:50:42 +0000
commit775d9c9c11f3906766c0dc7070eb7ef01606ef96 (patch)
tree7b957553d2778a4350d73f460997186e2484f5ca /server/src/sessionserialiser.cc
parent7917d099f34acda6c4c90bca28710a7bd67800e9 (diff)
New cross client system.
Diffstat (limited to 'server/src/sessionserialiser.cc')
-rw-r--r--server/src/sessionserialiser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/sessionserialiser.cc b/server/src/sessionserialiser.cc
index b816331..4065214 100644
--- a/server/src/sessionserialiser.cc
+++ b/server/src/sessionserialiser.cc
@@ -70,7 +70,7 @@ Session *SessionSerialiser::loadStr(const std::string &xml,
SessionParser parser;
parser.parse(xml.data(), xml.length());
- Session *session = new Session(sessionid);
+ Session *session = new Session(sessionid, parser.patientid, "");
Journal *j = session->journal();
j->setUser(XDEC(parser.userid));
j->setPatientID(XDEC(parser.patientid));