aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-01-22 15:37:49 +0100
committerMax Kostikov <max@kostikov.co>2021-01-22 15:37:49 +0100
commit3f34c73f095bfef8703e01d3d8750f3599095065 (patch)
tree33dd47294266e0ddc933db3e1a28445344e5ce16
parent92f420f77c830163fe7d58d98ed3eefb4d79bbed (diff)
downloadvolse-hubzilla-3f34c73f095bfef8703e01d3d8750f3599095065.tar.gz
volse-hubzilla-3f34c73f095bfef8703e01d3d8750f3599095065.tar.bz2
volse-hubzilla-3f34c73f095bfef8703e01d3d8750f3599095065.zip
Decode SQL query array
-rw-r--r--Zotlabs/Daemon/Cache_query.php4
1 files changed, 3 insertions, 1 deletions
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));