]> git.mxchange.org Git - friendica.git/commitdiff
Allow share body output for private = 2 in mod/share
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Jun 2018 03:53:54 +0000 (23:53 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 15 Jun 2018 03:53:54 +0000 (23:53 -0400)
mod/share.php

index 7eb588112b90ecf2fe00fabcfaf02364abf71f17..8a40288853335c24969cdb366ee30d05183172cc 100644 (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();
        }