Merge pull request #9700 from MrPetovan/bug/notices
Add expected contact field in Module\Contact\Poke
This commit is contained in:
commit
de5ec874fa
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class Poke extends BaseModule
|
||||||
|
|
||||||
Logger::info('verb ' . $verb . ' contact ' . $contact_id);
|
Logger::info('verb ' . $verb . ' contact ' . $contact_id);
|
||||||
|
|
||||||
$contact = DBA::selectFirst('contact', ['id', 'name', 'url'], ['id' => $parameters['id'], 'uid' => local_user()]);
|
$contact = DBA::selectFirst('contact', ['id', 'name', 'url', 'photo'], ['id' => $parameters['id'], 'uid' => local_user()]);
|
||||||
if (!DBA::isResult($contact)) {
|
if (!DBA::isResult($contact)) {
|
||||||
return self::postReturn(false);
|
return self::postReturn(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue