UserConfig::getOrCreateModel was incorrectly reloading the cache with non-objects
This commit is contained in:
parent
1d81185779
commit
3982f47243
@ -188,7 +188,7 @@ class ConfigHelper
|
||||
$config->value = '';
|
||||
$config->save();
|
||||
|
||||
$this->cache = $this->getAll();
|
||||
$this->loadCache();
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
Loading…
Reference in New Issue
Block a user