summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/src/database.h b/server/src/database.h
index 8876ae7..27169fe 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -67,7 +67,7 @@ public:
mutex.lock();
DEBUG(db, "%s, %s, %s,...\n",
transaction.user.c_str(), transaction.cpr.c_str(),
- macro.attributes["name"].c_str());
+ macro.name.c_str());
dao->commitTransaction(sessionid, transaction, commit, macro, now);
mutex.unlock();
}
@@ -76,7 +76,7 @@ public:
Values getValues(std::string patientid,
Fieldnames &fieldnames,
std::string sessionid,
- time_t oldest = 0)
+ time_t oldest)
{
if(!dao) return Values();
mutex.lock();
@@ -92,7 +92,7 @@ public:
bool checkMacro(std::string patientid,
std::string macro,
std::string sessionid,
- time_t oldest = 0)
+ time_t oldest)
{
DEBUG(db, "%s, %s, %ld\n",
patientid.c_str(), macro.c_str(), oldest);
@@ -108,7 +108,7 @@ public:
time_t oldest, std::string sessionid)
{
DEBUG(db, "%s, %s, %ld\n",
- patientid.c_str(), macro.attributes["name"].c_str(), oldest);
+ patientid.c_str(), macro.name.c_str(), oldest);
if(!dao) return "";
Fieldnames fn;
fn.push_back("journal.resume");