From 364044e8552c8ba64dd25026dc39c873538face3 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 4 Jan 2016 13:42:17 -0600
Subject: [PATCH] oops: Fix crash after ORM config migration

---
 include/class.plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class.plugin.php b/include/class.plugin.php
index 6dc3ee8a4..39028f6ee 100644
--- a/include/class.plugin.php
+++ b/include/class.plugin.php
@@ -11,7 +11,7 @@ class PluginConfig extends Config {
         parent::Config("plugin.$name");
         foreach ($this->getOptions() as $name => $field) {
             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'))
                 $this->defaults[$name] = $default;
         }
-- 
GitLab