Added missing parameter

This commit is contained in:
Michael 2021-01-17 21:10:16 +00:00
parent cd070954da
commit f57ad05736

View file

@ -210,7 +210,7 @@ class DFRN
break; // NOTREACHED
}
$contact = DBA::selectFirst('contact', ["NOT `blocked` AND `contact`.`uid` = ?" . $sql_extra, $owner_id]);
$contact = DBA::selectFirst('contact', [], ["NOT `blocked` AND `contact`.`uid` = ?" . $sql_extra, $owner_id]);
if (!DBA::isResult($contact)) {
Logger::notice('No contact found', ['uid' => $owner_id]);
exit();