diff --git a/src/Setting/Setting.php b/src/Setting/Setting.php index 8062744..3e2a927 100644 --- a/src/Setting/Setting.php +++ b/src/Setting/Setting.php @@ -34,6 +34,9 @@ public function get($key, $default_value = null) } } $this->resetLang(); + if (is_null($setting)) { + $setting = $default_value; + } return $setting; }