Skip to content

Commit

Permalink
Merge pull request laravel#7167 from GrahamForks/5.0-mailer
Browse files Browse the repository at this point in the history
[5.0] Fixed Broken Queued Mail Messages
  • Loading branch information
taylorotwell committed Jan 28, 2015
2 parents f219ab8 + 1ede585 commit 4001019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ protected function getQueuedCallable(array $data)
{
if (str_contains($data['callback'], 'SerializableClosure'))
{
return unserialize($data['callback']);
return unserialize($data['callback'])->getClosure();
}

return $data['callback'];
Expand Down

0 comments on commit 4001019

Please sign in to comment.