diff options
author | Mario Vavti <mario@mariovavti.com> | 2022-09-29 16:56:54 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2022-09-29 16:56:54 +0200 |
commit | ba0c877ffce6215717bced089aa529d7eee6734d (patch) | |
tree | 4aa3ce129c326ca4bfe01623a1cd5f77c0e729b3 | |
parent | 72520a2dd9cddbf4176f6d6de429961f29aad4df (diff) | |
download | volse-hubzilla-ba0c877ffce6215717bced089aa529d7eee6734d.tar.gz volse-hubzilla-ba0c877ffce6215717bced089aa529d7eee6734d.tar.bz2 volse-hubzilla-ba0c877ffce6215717bced089aa529d7eee6734d.zip |
fix menu item display issue
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 0a7e40e0e..8cc0f6aa5 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -265,7 +265,7 @@ class ThreadItem { $this->check_wall_to_wall(); if($this->is_toplevel()) { - if(($conv->get_profile_owner() === local_channel()) || (local_channel() && App::$module === 'pubstream')) { + if((local_channel() && $conv->get_profile_owner() === local_channel()) || (local_channel() && App::$module === 'pubstream')) { $star = [ 'toggle' => t("Toggle Star Status"), 'isstarred' => ((intval($item['item_starred'])) ? true : false), @@ -286,7 +286,7 @@ class ThreadItem { $tagger = []; // FIXME - check this permission - if($conv->get_profile_owner() == local_channel()) { + if(local_channel() && $conv->get_profile_owner() == local_channel()) { /* disable until we agree on how to implemnt this in zot6/activitypub $tagger = array( 'tagit' => t("Add Tag"), |