Merge pull request #5218 from MrPetovan/bug/fix-feed-reshare
Fix feed blank reshare body
This commit is contained in:
commit
a1e06c9782
|
@ -15,7 +15,7 @@ function share_init(App $a) {
|
||||||
'guid', 'created', 'plink', 'title'];
|
'guid', 'created', 'plink', 'title'];
|
||||||
$item = Item::selectFirst(local_user(), $fields, ['id' => $post_id]);
|
$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();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue