UserConfig::getOrCreateModel was incorrectly reloading the cache with non-objects

This commit is contained in:
Andy Heathershaw 2018-11-17 15:30:56 +00:00
parent 1d81185779
commit 3982f47243
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class ConfigHelper
$config->value = ''; $config->value = '';
$config->save(); $config->save();
$this->cache = $this->getAll(); $this->loadCache();
} }
return $config; return $config;