Merge pull request #732 from annando/single-notice

One single notice ...
This commit is contained in:
Hypolite Petovan 2018-09-09 09:12:50 -04:00 committed by GitHub
commit face0c02f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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