Skip to content
Snippets Groups Projects
Commit 364044e8 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix crash after ORM config migration

parent 3e2616d0
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ class PluginConfig extends Config { ...@@ -11,7 +11,7 @@ class PluginConfig extends Config {
parent::Config("plugin.$name"); parent::Config("plugin.$name");
foreach ($this->getOptions() as $name => $field) { foreach ($this->getOptions() as $name => $field) {
if ($this->exists($name)) if ($this->exists($name))
$this->config[$name]['value'] = $field->to_php($this->get($name)); $this->config[$name]->value = $field->to_php($this->get($name));
elseif ($default = $field->get('default')) elseif ($default = $field->get('default'))
$this->defaults[$name] = $default; $this->defaults[$name] = $default;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment