X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsubthread.php;h=646a4230c5f486819100624ddf754231b52814d1;hb=49ba2f9d6db545d3c5759675ce82f86edd1aa568;hp=b85f461dcf85c291ba939a434648eb68b7bd52b7;hpb=5a6da8b447430174ae231a3b8203fd4bd8416cc1;p=friendica.git diff --git a/mod/subthread.php b/mod/subthread.php index b85f461dcf..646a4230c5 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -7,7 +7,7 @@ require_once('include/items.php'); function subthread_content(App $a) { - if (! local_user() && ! remote_user()) { + if(! local_user() && ! remote_user()) { return; } @@ -20,7 +20,7 @@ function subthread_content(App $a) { dbesc($item_id) ); - if (! $item_id || (! dbm::is_result($r))) { + if(! $item_id || (! dbm::is_result($r))) { logger('subthread: no item ' . $item_id); return; } @@ -29,13 +29,13 @@ function subthread_content(App $a) { $owner_uid = $item['uid']; - if (! can_write_wall($a,$owner_uid)) { + if(! can_write_wall($a,$owner_uid)) { return; } $remote_owner = null; - if (! $item['wall']) { + if(! $item['wall']) { // The top level post may have been written by somebody on another system $r = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($item['contact-id']),