1
0
Fork 0

Merge pull request #5218 from MrPetovan/bug/fix-feed-reshare

Fix feed blank reshare body
This commit is contained in:
Michael Vogel 2018-06-15 08:06:56 +02:00 committed by GitHub
commit a1e06c9782
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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