From 58ee147653a759d1a4e41d5978e29a66cb58384e Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 3 Oct 2021 08:20:16 +0000 Subject: fix typo --- Zotlabs/Zot6/Zot6Handler.php | 2 -- include/channel.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Zotlabs/Zot6/Zot6Handler.php b/Zotlabs/Zot6/Zot6Handler.php index 779944bf0..e910366f6 100644 --- a/Zotlabs/Zot6/Zot6Handler.php +++ b/Zotlabs/Zot6/Zot6Handler.php @@ -71,13 +71,11 @@ class Zot6Handler implements IHandler { where xchan_hash ='%s' limit 1", dbesc($recip) ); - /// @FIXME $msgtype is undefined $x = Libzot::refresh([ 'hubloc_id_url' => $hub['hubloc_id_url']], $r[0], $force); } } else { // system wide refresh - /// @FIXME $msgtype is undefined $x = Libzot::refresh(['hubloc_id_url' => $hub['hubloc_id_url']], null, $force); } diff --git a/include/channel.php b/include/channel.php index ca0c474a3..2db0434ca 100644 --- a/include/channel.php +++ b/include/channel.php @@ -2531,7 +2531,7 @@ function channelx_by_n($id, $removed = false) { $sql_extra = ''; } - $r = q("SELECT * FROM channel LEFT JOIN xchan ON channel_hash = xchan_hash WHERE channel_id = %d $sql_extra = 0 LIMIT 1", + $r = q("SELECT * FROM channel LEFT JOIN xchan ON channel_hash = xchan_hash WHERE channel_id = %d $sql_extra LIMIT 1", intval($id) ); -- cgit v1.2.3