We need to reload the system address for notifications
This commit is contained in:
parent
b34b046d3c
commit
2f55de2ddf
@ -51,6 +51,7 @@ abstract class Netmails extends Notification //implements ShouldQueue
|
|||||||
{
|
{
|
||||||
// @todo Redirect netmails to Hubs or higher to the admin
|
// @todo Redirect netmails to Hubs or higher to the admin
|
||||||
$ao = $notifiable->routeNotificationFor(static::via);
|
$ao = $notifiable->routeNotificationFor(static::via);
|
||||||
|
$ao->load('system');
|
||||||
|
|
||||||
$o = new Netmail;
|
$o = new Netmail;
|
||||||
$o->to = $ao->system->sysop;
|
$o->to = $ao->system->sysop;
|
||||||
|
Loading…
Reference in New Issue
Block a user