mirror of
https://github.com/friendica/friendica
synced 2025-04-26 09:10:15 +00:00
Fix fatal errors and notices
This commit is contained in:
parent
425790d2fd
commit
74e5a73678
3 changed files with 5 additions and 1 deletions
|
@ -855,6 +855,9 @@ class Transmitter
|
|||
public static function createActivityFromMail($mail_id, $object_mode = false)
|
||||
{
|
||||
$mail = self::ItemArrayFromMail($mail_id);
|
||||
if (empty($mail)) {
|
||||
return [];
|
||||
}
|
||||
$object = self::createNote($mail);
|
||||
|
||||
if (!$object_mode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue