aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-15 18:23:26 +0000
committerMario <mario@mariovavti.com>2021-02-15 18:23:26 +0000
commitba29a6ce4d37b9466d25632975562a5ffe2d5f13 (patch)
tree82a4d925152a8136df576bc2434bda667631cc70 /include
parentd72a096fa55e1b0c9d78a0fc0fa5a0b72988c69d (diff)
downloadvolse-hubzilla-ba29a6ce4d37b9466d25632975562a5ffe2d5f13.tar.gz
volse-hubzilla-ba29a6ce4d37b9466d25632975562a5ffe2d5f13.tar.bz2
volse-hubzilla-ba29a6ce4d37b9466d25632975562a5ffe2d5f13.zip
composer update smarty
Diffstat (limited to 'include')
-rw-r--r--include/zot.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index f96792656..82efc8596 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -470,8 +470,13 @@ function zot_refresh($them, $channel = null, $force = false) {
'alg' => $j['permissions']['alg']
],
$channel['channel_prvkey']);
- if($permissions)
+ if($permissions) {
+ if(is_array($permissions))
+ hz_syslog(print_r($permissions,true));
+
$permissions = json_decode($permissions,true);
+
+ }
logger('decrypted permissions: ' . print_r($permissions,true), LOGGER_DATA, LOG_DEBUG);
}
else