X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fshare.php;h=0a34c6fc50699dd1923872f78d0aae8338be6820;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=085da4e30d8a8b6f15e343a480d6743f733def15;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/mod/share.php b/mod/share.php index 085da4e30d..0a34c6fc50 100644 --- a/mod/share.php +++ b/mod/share.php @@ -12,7 +12,7 @@ function share_init(&$a) { intval($post_id), intval(local_user()) ); - if(! count($r) || ($r[0]['private'] == 1)) + if(! dbm::is_result($r) || ($r[0]['private'] == 1)) killme(); if (!intval(get_config('system','old_share'))) {