mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-28 07:54:18 +08:00
Plugin configuration did not load anymore when type was SELECTION
due to not existing object
This commit is contained in:
parent
544ec16830
commit
5efd926f22
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class Property implements \JsonSerializable
|
|||
}
|
||||
break;
|
||||
case PluginPropertyType::SELECTION:
|
||||
if ($this->aOptions && \in_array($mValue, $oItem->Options())) {
|
||||
if ($this->aOptions && \in_array($mValue, $this->Options())) {
|
||||
$this->mValue = (string) $mValue;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue