mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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';
|
$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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue