]> git.mxchange.org Git - friendica-addons.git/commitdiff
One single notice ...
authorMichael <heluecht@pirati.ca>
Sun, 9 Sep 2018 06:25:55 +0000 (06:25 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 9 Sep 2018 06:25:55 +0000 (06:25 +0000)
pumpio/pumpio.php

index 9960ec5629556c2bd68dc3ed084b8b33462d91f6..907d928a090cbb550e8fd98a2f506310b109cc1a 100644 (file)
@@ -644,7 +644,7 @@ function pumpio_action(App $a, $uid, $uri, $action, $content = "")
        } else {
                logger('pumpio_action '.$username.' '.$action.': general error: '.$uri.' '.print_r($user, true));
 
-               $r = q("SELECT `id` FROM `contact` WHERE `uid` = %d AND `self`", $b['uid']);
+               $r = q("SELECT `id` FROM `contact` WHERE `uid` = %d AND `self`", $uid);
                if (DBA::isResult($r)) {
                        $a->contact = $r[0]["id"];
                }