From 5efd926f22ddc921403533e6a15ce4974652662d Mon Sep 17 00:00:00 2001 From: cm-schl <63400209+cm-schl@users.noreply.github.com> Date: Tue, 6 Dec 2022 14:46:23 +0100 Subject: [PATCH] Plugin configuration did not load anymore when type was SELECTION due to not existing object --- snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Property.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Property.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Property.php index 4faeb466f..22f0209e6 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Property.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Plugins/Property.php @@ -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;