Allow share body output for private = 2 in mod/share
This commit is contained in:
parent
6191fab4d7
commit
c96b330a72
|
@ -15,7 +15,7 @@ function share_init(App $a) {
|
|||
'guid', 'created', 'plink', 'title'];
|
||||
$item = Item::selectFirst(local_user(), $fields, ['id' => $post_id]);
|
||||
|
||||
if (!DBM::is_result($item) || $item['private']) {
|
||||
if (!DBM::is_result($item) || $item['private'] == 1) {
|
||||
killme();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user