Fixe cache_data() für Hashes (Crash bei Bitly)

This commit is contained in:
Andreas Bielawski 2016-08-19 14:05:16 +02:00
parent 0d434db39c
commit 4b2a36c424

View File

@ -729,7 +729,7 @@ function cache_data(plugin, query, data, timeout, typ, hash_field)
redis:sadd(hash, str)
end
else
redis:hset(hash, hash_field, data)
redis:hmset(hash, data)
end
if timeout then
redis:expire(hash, timeout)