From 70389c99eaafa75cfac45003bda231627b77633b Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 31 Jul 2012 22:25:03 -0700 Subject: [PATCH] logic was reversed - should work now --- mod/poke.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mod/poke.php b/mod/poke.php index 93167472cf..5cd88d7e2a 100644 --- a/mod/poke.php +++ b/mod/poke.php @@ -52,7 +52,7 @@ function poke_init(&$a) { intval($parent), intval($uid) ); - if(! count($r)) { + if(count($r)) { $parent_uri = $r[0]['uri']; $private = $r[0]['private']; $allow_cid = $r[0]['allow_cid']; @@ -71,9 +71,6 @@ function poke_init(&$a) { $deny_gid = (($private) ? '' : $a->user['deny_gid']); } - - - $poster = $a->contact; $uri = item_new_uri($a->get_hostname(),$owner_uid); -- 2.39.5