aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Pinned.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2021-03-09 16:59:44 +0100
committerMax Kostikov <max@kostikov.co>2021-03-09 16:59:44 +0100
commit15b45af550cb59013cbf915c63635fdf03cdd73e (patch)
treeade89cc1add4ae4c84e84c56bae73761e88ba57a /Zotlabs/Widget/Pinned.php
parent91ebfbc2153a89ba0bc7023b64a58d99d957f68f (diff)
downloadvolse-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.php2
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']);