aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-01-22 15:39:48 +0100
committerMax Kostikov <max@kostikov.co>2021-01-22 15:39:48 +0100
commit7bc03401062768b88b1ba46c2f5e24f4d6b133db (patch)
treec764fdb57703fbdfd77196ca12886e206ac3c625 /include/contact_widgets.php
parentbfb9f102343936b94064dd64765b235c45477839 (diff)
downloadvolse-hubzilla-7bc03401062768b88b1ba46c2f5e24f4d6b133db.tar.gz
volse-hubzilla-7bc03401062768b88b1ba46c2f5e24f4d6b133db.tar.bz2
volse-hubzilla-7bc03401062768b88b1ba46c2f5e24f4d6b133db.zip
Encode SQL query array
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 0719d4011..a5f867b0f 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -97,7 +97,7 @@ function categories_widget($baseurl,$selected = '') {
dbesc(ACTIVITY_UPDATE)
];
- \Zotlabs\Daemon\Master::Summon([ 'Cache_query', $key, $arr ]);
+ \Zotlabs\Daemon\Master::Summon([ 'Cache_query', $key, base64_encode(json_encode($arr)) ]);
}
$r = unserialize($content);