From a5183985d1e4468e85910559477c55c0fb3638a3 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 9 Sep 2018 06:25:55 +0000 Subject: [PATCH] One single notice ... --- pumpio/pumpio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 9960ec56..907d928a 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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"]; } -- 2.39.5