Merge pull request #2094 from ecoValentin/master

Hotfix for typo in variable name
This commit is contained in:
RainLoop Team 2021-05-05 22:43:21 +03:00 committed by GitHub
commit 86e62d90ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -675,7 +675,7 @@ class ImapClient extends \MailSo\Net\NetClient
* https://github.com/the-djmaze/snappymail/issues/70
* https://github.com/RainLoop/rainloop-webmail/issues/2037
*/
$sFullNameRaw = \array_slice($oResponse->ResponseList, 4);
$sFullNameRaw = \array_slice($oImapResponse->ResponseList, 4);
foreach ($sFullNameRaw as &$name) {
if (\is_array($name)) {
$name = "[{$name[0]}]";