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'];
$deny_gid = (($private) ? '' : $a->user['deny_gid']);
}
-
-
-
$poster = $a->contact;
$uri = item_new_uri($a->get_hostname(),$owner_uid);