[Bugfix] Fixed Mail namespace

This commit is contained in:
snipe 2016-04-23 04:02:52 -07:00
parent c3b7332e3b
commit 32c193b9bf

View file

@ -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');
});