mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:35:19 +00:00
issue #172 - non-working delete button showing on pinned post for non logged-in viewer. It shouldn't work so that's correct, but it shouldn't even be visible.
This commit is contained in:
parent
8865fb83a1
commit
492d6446eb
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
|
|||
|
||||
localize_item($item);
|
||||
if ($mode === 'stream-new') {
|
||||
$dropping = true;
|
||||
$dropping = (bool)local_channel() === (int)$item['uid'];
|
||||
} else {
|
||||
$dropping = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue