mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-11-08 06:11:37 +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;
|
break;
|
||||||
case PluginPropertyType::SELECTION:
|
case PluginPropertyType::SELECTION:
|
||||||
if ($this->aOptions && \in_array($mValue, $oItem->Options())) {
|
if ($this->aOptions && \in_array($mValue, $this->Options())) {
|
||||||
$this->mValue = (string) $mValue;
|
$this->mValue = (string) $mValue;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue