From 1f08ebe64ad1fd1a9c2e7201aedccd286c49b778 Mon Sep 17 00:00:00 2001 From: senator Date: Mon, 23 Nov 2009 13:44:57 +0000 Subject: Fixed error where missing_eye_osin and odxt had kilde instead of source as surname --- server/xml/macros/header-1.0.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/xml/macros/header-1.0.xml') diff --git a/server/xml/macros/header-1.0.xml b/server/xml/macros/header-1.0.xml index 80e0f7e..191f05e 100644 --- a/server/xml/macros/header-1.0.xml +++ b/server/xml/macros/header-1.0.xml @@ -18,11 +18,11 @@ timestamp = 0 source = 'pentominos' - if(cpr and cpr.cpr and cpr.cpr.value and cpr.cpr.timestamp and cpr.cpr.kilde) + if(cpr and cpr.cpr and cpr.cpr.value and cpr.cpr.timestamp and cpr.cpr.source) then value = string.sub(cpr.cpr.value,1,6) .. '-' .. string.sub(cpr.cpr.value,7,11) timestamp = cpr.cpr.timestamp - source = cpr.cpr.kilde + source = cpr.cpr.source end return value, timestamp, source -- cgit v1.2.3