From ba29a6ce4d37b9466d25632975562a5ffe2d5f13 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Feb 2021 18:23:26 +0000 Subject: composer update smarty --- include/zot.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3