From 6acd96fd33038f0e3535af6861d1ba658098abc8 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Wed, 11 Oct 2017 17:52:03 -0700 Subject: typo --- include/zot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/zot.php b/include/zot.php index b6df6bca8..da1f3bfa1 100644 --- a/include/zot.php +++ b/include/zot.php @@ -312,6 +312,7 @@ function zot_refresh($them, $channel = null, $force = false) { logger('zot_refresh: ' . $url, LOGGER_DATA, LOG_INFO); + $result = z_post_url($url . $rhs,$postvars); if ($result['success']) { @@ -4045,7 +4046,7 @@ function zotinfo($arr) { $id = $e['channel_id']; - $x = [ 'channel_id' => $id, 'protocols' => 'zot' ]; + $x = [ 'channel_id' => $id, 'protocols' => ['zot'] ]; call_hooks('channel_protocols',$x); $protocols = $x['protocols']; -- cgit v1.2.3