We need to reload the system address for notifications

This commit is contained in:
Deon George 2024-06-26 16:49:11 +10:00
parent b34b046d3c
commit 2f55de2ddf

View File

@ -51,6 +51,7 @@ abstract class Netmails extends Notification //implements ShouldQueue
{
// @todo Redirect netmails to Hubs or higher to the admin
$ao = $notifiable->routeNotificationFor(static::via);
$ao->load('system');
$o = new Netmail;
$o->to = $ao->system->sysop;