Software /
code /
prosody-modules
Changeset
1586:b51e596c5a02
mod_mam_archive: Fixing SQL concatenation bug
author | syn@syn.im |
---|---|
date | Thu, 11 Dec 2014 20:43:14 +0100 |
parents | 1585:64f55bcab9f7 |
children | 1587:3ac2b835c7b3 |
files | mod_mam_archive/mod_mam_archive.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_mam_archive/mod_mam_archive.lua Mon Dec 08 17:04:49 2014 +0100 +++ b/mod_mam_archive/mod_mam_archive.lua Thu Dec 11 20:43:14 2014 +0100 @@ -165,7 +165,7 @@ local after = list_el.attr["start"]; if after ~= nil then - sql = sql .. "AND `when` >= ?"; + sql = sql .. "AND `when` >= ? "; table.insert(args, date_parse(after)); end