One single notice ... #732

Merged
annando merged 1 commit from single-notice into 2018.08-rc 2018-09-09 15:12:51 +02:00

View 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"];
}