Allow share body output for private = 2 in mod/share

This commit is contained in:
Hypolite Petovan 2018-06-14 23:53:54 -04:00
parent 6191fab4d7
commit c96b330a72

View File

@ -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();
}