diff --git a/core/lib/Drupal/Core/Config/DrupalConfig.php b/core/lib/Drupal/Core/Config/DrupalConfig.php index 54397e7..343f085 100644 --- a/core/lib/Drupal/Core/Config/DrupalConfig.php +++ b/core/lib/Drupal/Core/Config/DrupalConfig.php @@ -38,6 +38,10 @@ class DrupalConfig { public function read() { $active = (array) config_decode($this->_verifiedStorage->read()); foreach ($active as $key => $value) { + // If the setting is empty, return an empty string rather than an array. + if (is_array($value) && empty($value)) { + $value = ''; + } $this->set($key, $value); } }