changeset 1752:3f3689a16133

mod_storage_xmlarchive: Return 'when' as number
author Kim Alvefur <zash@zash.se>
date Tue, 19 May 2015 16:46:20 +0200 (2015-05-19)
parents 3f3a5daf31cc
children 54c8a0cb2996
files mod_storage_xmlarchive/mod_storage_xmlarchive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Tue May 19 16:45:51 2015 +0200
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Tue May 19 16:46:20 2015 +0200
@@ -161,7 +161,7 @@
 					if result then
 						local stanza = result;
 						result = nil;
-						return item.id, stanza, item.when, item.with;
+						return item.id, stanza, i_when, i_with;
 					end
 				end
 				if (rev and item.id == query.after) or