mirror of
https://github.com/friendica/friendica
synced 2025-04-30 19:44:24 +02:00
Fix for not loading the translation / some more notice removed (#5569)
This commit is contained in:
parent
ef1c73fb6b
commit
5e61caa34f
2 changed files with 8 additions and 0 deletions
|
@ -275,6 +275,12 @@ class Delivery extends BaseObject
|
|||
|
||||
$user = DBA::selectFirst('user', [], ['uid' => $target_uid]);
|
||||
|
||||
// This should also never fail
|
||||
if (!DBA::isResult($user)) {
|
||||
logger('No user found for uid ' . $target_uid);
|
||||
return;
|
||||
}
|
||||
|
||||
$target_importer = array_merge($target_importer, $user);
|
||||
|
||||
// Set the user id. This is important if this is a public contact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue