Changeset

2405:7bce126bf60c

mod_storage_xmlarchive: Skip remaining dates correctly (fixes #790)
author Kim Alvefur <zash@zash.se>
date Fri, 02 Dec 2016 17:39:11 +0100
parents 2404:9af2d36567a8
children 2406:a216be9b1d6e
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	Fri Dec 02 11:45:10 2016 +0100
+++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua	Fri Dec 02 17:39:11 2016 +0100
@@ -67,7 +67,7 @@
 				end
 			end
 			return; -- Assuming no duplicates
-		elseif date > dates[d] then
+		elseif date < dates[d] then
 			return; -- List is assumed to be sorted
 		end
 	end