summaryrefslogtreecommitdiff
path: root/server/xml/macros/header-1.0.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/header-1.0.xml')
-rw-r--r--server/xml/macros/header-1.0.xml4
1 files changed, 2 insertions, 2 deletions
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