summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/luapraxisd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/luapraxisd.cc b/client/luapraxisd.cc
index 1a92ea8..0696674 100644
--- a/client/luapraxisd.cc
+++ b/client/luapraxisd.cc
@@ -54,7 +54,7 @@ static int px_getcave(lua_State *L)
Patient patient = pxu->px->patient_get_by_cpr(cpr);
QVector<sogeord_t>::iterator i = patient.sogeord.begin();
while(i != patient.sogeord.end()) {
- QString cavesogeord = i->sogenr.mid(1, i->sogenr.size() - 1);
+ QString cavesogeord = i->sogenr;//.mid(1, i->sogenr.size() - 1);
QVector<cave_t> cave = pxu->px->diverse_get_cave(cavesogeord);
if(cave.size() == 1) {
if(cave[0].cave != "ANDET") cavelist.push_back(cave[0].cave);