One single notice ...

This commit is contained in:
Michael 2018-09-09 06:25:55 +00:00
parent 1dc7114bae
commit a5183985d1

View file

@ -644,7 +644,7 @@ function pumpio_action(App $a, $uid, $uri, $action, $content = "")
} else { } else {
logger('pumpio_action '.$username.' '.$action.': general error: '.$uri.' '.print_r($user, true)); 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)) { if (DBA::isResult($r)) {
$a->contact = $r[0]["id"]; $a->contact = $r[0]["id"];
} }