X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fshare.php;h=74de1967b44782542d7c081a654d59c90e159593;hb=88d25f977a078dd3e5dfb7d0461cf231ff64358f;hp=7eb588112b90ecf2fe00fabcfaf02364abf71f17;hpb=5d2fce417d3a6646fcfe64450a247b2163e12336;p=friendica.git diff --git a/mod/share.php b/mod/share.php index 7eb588112b..74de1967b4 100644 --- a/mod/share.php +++ b/mod/share.php @@ -1,7 +1,7 @@ $post_id]); + $item = Item::selectFirst($fields, ['id' => $post_id]); - if (!DBM::is_result($item) || $item['private']) { + if (!DBA::isResult($item) || $item['private'] == 1) { killme(); }