logic was reversed - should work now
This commit is contained in:
parent
14282a40bb
commit
70389c99ea
1 changed files with 1 additions and 4 deletions
|
@ -52,7 +52,7 @@ function poke_init(&$a) {
|
||||||
intval($parent),
|
intval($parent),
|
||||||
intval($uid)
|
intval($uid)
|
||||||
);
|
);
|
||||||
if(! count($r)) {
|
if(count($r)) {
|
||||||
$parent_uri = $r[0]['uri'];
|
$parent_uri = $r[0]['uri'];
|
||||||
$private = $r[0]['private'];
|
$private = $r[0]['private'];
|
||||||
$allow_cid = $r[0]['allow_cid'];
|
$allow_cid = $r[0]['allow_cid'];
|
||||||
|
@ -71,9 +71,6 @@ function poke_init(&$a) {
|
||||||
$deny_gid = (($private) ? '' : $a->user['deny_gid']);
|
$deny_gid = (($private) ? '' : $a->user['deny_gid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$poster = $a->contact;
|
$poster = $a->contact;
|
||||||
|
|
||||||
$uri = item_new_uri($a->get_hostname(),$owner_uid);
|
$uri = item_new_uri($a->get_hostname(),$owner_uid);
|
||||||
|
|
Loading…
Reference in a new issue