Merge pull request #753 from cm-schl/master

Plugin configuration did not load anymore when type was SELECTION
This commit is contained in:
the-djmaze 2022-12-06 16:03:38 +01:00 committed by GitHub
commit b64e0a026d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;