Skip to content

Commit

Permalink
Fix mailables always being queued for later if using Queueable trait (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jwensley2 authored and taylorotwell committed Aug 29, 2018
1 parent a784efc commit 4eab953
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/Mailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function send(MailerContract $mailer)
*/
public function queue(Queue $queue)
{
if (property_exists($this, 'delay')) {
if (isset($this->delay)) {
return $this->later($this->delay, $queue);
}

Expand Down

0 comments on commit 4eab953

Please sign in to comment.