X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fshare.php;h=928ccdef263efc45b7f24f66c6c8c123f945888a;hb=a7ce601580b07e9b3e7653cbdb0a9b6bbb5c474e;hp=f2e016708fef321a74937e3c8c9be93e5ba87401;hpb=b580c238445100e95b2b43343a82d0e5f7a14630;p=friendica.git diff --git a/mod/share.php b/mod/share.php index f2e016708f..928ccdef26 100644 --- a/mod/share.php +++ b/mod/share.php @@ -1,12 +1,12 @@ argc > 1) ? intval($a->argv[1]) : 0); if((! $post_id) || (! local_user())) killme(); - $r = q("SELECT item.*, contact.network FROM `item` - inner join contact on `item`.`contact-id` = `contact`.`id` + $r = q("SELECT item.*, contact.network FROM `item` + inner join contact on `item`.`contact-id` = `contact`.`id` WHERE `item`.`id` = %d AND `item`.`uid` = %d LIMIT 1", intval($post_id),