mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-23 12:44:12 -08:00
[Bugfix] Fixed Mail namespace
This commit is contained in:
parent
c3b7332e3b
commit
32c193b9bf
|
@ -48,7 +48,7 @@ class SendInventoryAlerts extends Command
|
|||
$data['count'] = count($data['data']);
|
||||
|
||||
if (count($data['data']) > 0) {
|
||||
Mail::send('emails.low-inventory', $data, function ($m) {
|
||||
\Mail::send('emails.low-inventory', $data, function ($m) {
|
||||
$m->to(explode(',',Setting::getSettings()->alert_email), Setting::getSettings()->site_name);
|
||||
$m->subject('Low Inventory Report');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue