Skip to content

Commit 280e5f5

Browse files
committed
Fix #3, thanks @TemaSM and @AEK-BKF
1 parent 0769ade commit 280e5f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Setting/Setting.php

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public function get($key, $default_value = null)
3434
}
3535
}
3636
$this->resetLang();
37+
if (is_null($setting)) {
38+
$setting = $default_value;
39+
}
3740
return $setting;
3841
}
3942

0 commit comments

Comments
 (0)