This commit is contained in:
zotlabs 2017-10-11 17:52:03 -07:00
parent a652e546cc
commit 6acd96fd33

View File

@ -312,6 +312,7 @@ function zot_refresh($them, $channel = null, $force = false) {
logger('zot_refresh: ' . $url, LOGGER_DATA, LOG_INFO); logger('zot_refresh: ' . $url, LOGGER_DATA, LOG_INFO);
$result = z_post_url($url . $rhs,$postvars); $result = z_post_url($url . $rhs,$postvars);
if ($result['success']) { if ($result['success']) {
@ -4045,7 +4046,7 @@ function zotinfo($arr) {
$id = $e['channel_id']; $id = $e['channel_id'];
$x = [ 'channel_id' => $id, 'protocols' => 'zot' ]; $x = [ 'channel_id' => $id, 'protocols' => ['zot'] ];
call_hooks('channel_protocols',$x); call_hooks('channel_protocols',$x);
$protocols = $x['protocols']; $protocols = $x['protocols'];