Bugfix: Undefined variable: sParentFolderName

This commit is contained in:
djmaze 2021-11-04 16:44:17 +01:00
parent d09f4cd14a
commit 18e2049cf2

View file

@ -577,7 +577,7 @@ class ImapClient extends \MailSo\Net\NetClient
*/
public function FolderHierarchyDelimiter(string $sFolderName = '') : ?string
{
$oResponse = $this->SendRequestGetResponse('LIST', ['""', $this->EscapeString($sParentFolderName)]);
$oResponse = $this->SendRequestGetResponse('LIST', ['""', $this->EscapeString($sFolderName)]);
return ('LIST' === $oResponse[0]->ResponseList[1]) ? $oResponse[0]->ResponseList[3] : null;
}