This commit is contained in:
the-djmaze 2023-03-21 12:21:37 +01:00
parent db5bd3cd36
commit f1f4606cc6

View file

@ -117,10 +117,11 @@ trait Status
$name = 'MAILBOXID'; $name = 'MAILBOXID';
} }
if (\property_exists(__TRAIT__, $name)) { if (\property_exists(__TRAIT__, $name)) {
if ('MAILBOXID' !== $name) { if ('MAILBOXID' === $name) {
$value = (int) $value; $this->MAILBOXID = \base64_encode(\is_array($value) ? $value[0] : $value);
} else {
$this->$name = (int) $value;
} }
$this->$name = $value;
return true; return true;
} }
return false; return false;