From 3f34c73f095bfef8703e01d3d8750f3599095065 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 22 Jan 2021 15:37:49 +0100 Subject: Decode SQL query array --- Zotlabs/Daemon/Cache_query.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Daemon/Cache_query.php b/Zotlabs/Daemon/Cache_query.php index 18d19cdf2..5f92ae6d0 100644 --- a/Zotlabs/Daemon/Cache_query.php +++ b/Zotlabs/Daemon/Cache_query.php @@ -24,8 +24,10 @@ class Cache_query { array_shift($argv); array_shift($argv); + + $arr = json_decode(base64_decode($argv[0]), true); - $r = call_user_func_array('q', $argv); + $r = call_user_func_array('q', $arr); if($r) Cache::set($key, serialize($r)); -- cgit v1.2.3