Bugfix: plugin config $this->aData is private and not accessible

This commit is contained in:
the-djmaze 2022-11-11 17:12:54 +01:00
parent 8e7569c8f3
commit 4e3a97a6f1

View file

@ -42,7 +42,7 @@ class Plugin extends \RainLoop\Config\AbstractConfig
public function jsonSerialize()
{
$aData = [];
foreach ($this->aData as $sSectionKey => $aSectionValue) {
foreach (parent::jsonSerialize() as $sSectionKey => $aSectionValue) {
if (\is_array($aSectionValue)) {
$aData[$sSectionKey] = [];
foreach ($aSectionValue as $sParamKey => $mParamValue) {