Mercurial > prosody-hg
changeset 13916:7761360ffb7b
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 22 Jul 2025 16:34:56 +0100 |
| parents | 1bc4e7ab964c (current diff) 9a69918b5e63 (diff) |
| children | 598359d9f580 |
| files | |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Mon Jul 14 16:44:10 2025 +0200 +++ b/plugins/mod_storage_sql.lua Tue Jul 22 16:34:56 2025 +0100 @@ -556,7 +556,7 @@ if new_value then table.insert(setf, '"type" = ?') table.insert(setf, '"value" = ?') - local t, value = serialize(new_value); + local t, value = assert(serialize(new_value)); table.insert(args, 1, t); table.insert(args, 2, value); end
