Merge pull request #9700 from MrPetovan/bug/notices
Add expected contact field in Module\Contact\Poke
This commit is contained in:
commit
de5ec874fa
|
@ -44,7 +44,7 @@ class Poke extends BaseModule
|
|||
|
||||
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)) {
|
||||
return self::postReturn(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue