]> git.mxchange.org Git - friendica.git/blobdiff - mod/poke.php
New option to enable and disable the "share" element
[friendica.git] / mod / poke.php
index 93167472cfd975dfc02b29b192467548a6bf436c..edcb27d021f86a721631acf50a4d71971520fb9b 100644 (file)
@@ -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,12 +71,9 @@ function poke_init(&$a) {
                $deny_gid      = (($private) ? '' : $a->user['deny_gid']);
        }
 
-
-
-
        $poster = $a->contact;
 
-       $uri = item_new_uri($a->get_hostname(),$owner_uid);
+       $uri = item_new_uri($a->get_hostname(),$uid);
 
        $arr = array();