fix error in filemanager notifications: notifications::set_popupdata(): Argument #1 ($_appname) must be of type string, null given

This commit is contained in:
ralf 2024-05-02 10:20:47 +02:00
parent 3ac7b858e4
commit bd6a4c310d

View File

@ -843,7 +843,7 @@ abstract class Tracking
$notification->set_reply_to($reply_to); $notification->set_reply_to($reply_to);
$notification->set_subject($subject); $notification->set_subject($subject);
$notification->set_links(array($link)); $notification->set_links(array($link));
$notification->set_popupdata($link['app']??null, $link, $link['id']??null); $notification->set_popupdata($link['app']??$this->app, $link, $link['id']??null);
if ($attachments && is_array($attachments)) if ($attachments && is_array($attachments))
{ {
$notification->set_attachments($attachments); $notification->set_attachments($attachments);