From c96b330a725afe020064c0ca060a674bdd700854 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 14 Jun 2018 23:53:54 -0400 Subject: [PATCH] Allow share body output for private = 2 in mod/share --- mod/share.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/share.php b/mod/share.php index 7eb588112b..8a40288853 100644 --- a/mod/share.php +++ b/mod/share.php @@ -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(); }