diff options
author | Mario <mario@mariovavti.com> | 2021-10-03 08:20:16 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-10-03 08:20:16 +0000 |
commit | 58ee147653a759d1a4e41d5978e29a66cb58384e (patch) | |
tree | d279380ac2f269159eb973d15ad917c3b2dfae3e | |
parent | 28ad6a68834a21553e98f16e090ce4c227ac343c (diff) | |
download | volse-hubzilla-58ee147653a759d1a4e41d5978e29a66cb58384e.tar.gz volse-hubzilla-58ee147653a759d1a4e41d5978e29a66cb58384e.tar.bz2 volse-hubzilla-58ee147653a759d1a4e41d5978e29a66cb58384e.zip |
fix typo
-rw-r--r-- | Zotlabs/Zot6/Zot6Handler.php | 2 | ||||
-rw-r--r-- | include/channel.php | 2 |
2 files changed, 1 insertions, 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) ); |