Civi\Core\SettingsManager - Don't try to read settings if there's no DB
[civicrm-core.git] / Civi / Core / SettingsBag.php
index 6d8810bbf6767eed4da5c4793f22d6d32e76dab0..e439bbaedd1fda79d85ad9646fe381b36f264af3 100644 (file)
@@ -91,6 +91,7 @@ class SettingsBag {
   public function __construct($domainId, $contactId) {
     $this->domainId = $domainId;
     $this->contactId = $contactId;
+    $this->values = array();
     $this->filteredValues = array();
     $this->combined = NULL;
   }