From 32c193b9bf9bcb6f31cff879c35a20580527bb1e Mon Sep 17 00:00:00 2001 From: snipe Date: Sat, 23 Apr 2016 04:02:52 -0700 Subject: [PATCH] [Bugfix] Fixed Mail namespace --- app/Console/Commands/SendInventoryAlerts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SendInventoryAlerts.php b/app/Console/Commands/SendInventoryAlerts.php index 75dcdd9ef3..415c535a97 100644 --- a/app/Console/Commands/SendInventoryAlerts.php +++ b/app/Console/Commands/SendInventoryAlerts.php @@ -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'); });