diff options
author | Max Kostikov <max@kostikov.co> | 2021-03-09 16:59:44 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2021-03-09 16:59:44 +0100 |
commit | 15b45af550cb59013cbf915c63635fdf03cdd73e (patch) | |
tree | ade89cc1add4ae4c84e84c56bae73761e88ba57a /Zotlabs/Widget/Pinned.php | |
parent | 91ebfbc2153a89ba0bc7023b64a58d99d957f68f (diff) | |
download | volse-hubzilla-15b45af550cb59013cbf915c63635fdf03cdd73e.tar.gz volse-hubzilla-15b45af550cb59013cbf915c63635fdf03cdd73e.tar.bz2 volse-hubzilla-15b45af550cb59013cbf915c63635fdf03cdd73e.zip |
Revert "Check if we have an observer xchan"
This reverts commit 91ebfbc2153a89ba0bc7023b64a58d99d957f68f
Diffstat (limited to 'Zotlabs/Widget/Pinned.php')
-rw-r--r-- | Zotlabs/Widget/Pinned.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Pinned.php b/Zotlabs/Widget/Pinned.php index 1cd4dbc15..0a7806908 100644 --- a/Zotlabs/Widget/Pinned.php +++ b/Zotlabs/Widget/Pinned.php @@ -43,7 +43,7 @@ class Pinned { $midb64 = 'b64.' . base64url_encode($item['mid']); - if(isset($observer['xchan_hash']) && in_array($observer['xchan_hash'], get_pconfig($item['uid'], 'pinned_hide', $midb64, []))) + if(in_array($observer['xchan_hash'], get_pconfig($item['uid'], 'pinned_hide', $midb64, []))) continue; $author = channelx_by_hash($item['author_xchan']); |