Skip to content

Commit

Permalink
Fix Call to a member function sortBy() on array on fetching emails - c…
Browse files Browse the repository at this point in the history
…loses #1984
  • Loading branch information
freescout-help-desk committed May 16, 2022
1 parent c2810be commit 4bb44a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/FetchEmails.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function fetch($mailbox)
} else {
$this->error('['.date('Y-m-d H:i:s').'] '.$last_error);
$this->logError('Folder: '.$folder->name.'; Error: '.$last_error);
$messages = [];
$messages = collect([]);
}
}

Expand Down

0 comments on commit 4bb44a8

Please sign in to comment.