From e1400e5745d154b365aeab11b971a6c7d201f3a9 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 8 Dec 2019 00:18:51 +0100 Subject: Don't show pinned post on single post displaying --- Zotlabs/Module/Channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index 20a5418c2..5529db70e 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -470,7 +470,7 @@ class Channel extends Controller { } // Add pinned content - if(! $decoded && ! $search) { + if(! x($_REQUEST,'mid') && ! $search) { $pinned = new \Zotlabs\Widget\Pinned; $r = $pinned->widget(intval(App::$profile['profile_uid']), [ITEM_TYPE_POST]); $o .= $r['html']; -- cgit v1.2.3