don't block yourself

This commit is contained in:
Mike Macgirvin 2023-01-22 12:13:39 -08:00
parent 21fd06931c
commit cf7b3880ff

View file

@ -864,7 +864,7 @@ function thread_author_menu($item, $mode = '')
];
}
if (local_channel()) {
if ($local_channel && $item['author_xchan'] !== $channel['channel_hash']) {
$menu[] = [
'menu' => 'superblocksite',
'title' => t('Block author\'s site'),