mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-03 19:52:19 +03:00
Resolve #1032
This commit is contained in:
parent
db5bd3cd36
commit
f1f4606cc6
1 changed files with 4 additions and 3 deletions
|
|
@ -117,10 +117,11 @@ trait Status
|
|||
$name = 'MAILBOXID';
|
||||
}
|
||||
if (\property_exists(__TRAIT__, $name)) {
|
||||
if ('MAILBOXID' !== $name) {
|
||||
$value = (int) $value;
|
||||
if ('MAILBOXID' === $name) {
|
||||
$this->MAILBOXID = \base64_encode(\is_array($value) ? $value[0] : $value);
|
||||
} else {
|
||||
$this->$name = (int) $value;
|
||||
}
|
||||
$this->$name = $value;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue