Fixe cache_data() für Hashes (Crash bei Bitly)
This commit is contained in:
parent
0d434db39c
commit
4b2a36c424
@ -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)
|
||||
|
Reference in New Issue
Block a user