Fix: "Undefined property: stdClass::$personal"

This commit is contained in:
Michael 2024-04-15 03:24:38 +00:00
parent 6e0118f3fe
commit 642c55ee3e
1 changed files with 2 additions and 2 deletions

View File

@ -2000,8 +2000,8 @@ class Probe
if (isset($adr)) {
foreach ($adr as $feadr) {
if ((strcasecmp($feadr->mailbox, $data['name']) == 0)
&&(strcasecmp($feadr->host, $phost) == 0)
&& (strlen($feadr->personal))
&& (strcasecmp($feadr->host, $phost) == 0)
&& !empty($feadr->personal)
) {
$personal = imap_mime_header_decode($feadr->personal);
$data['name'] = '';