Skip to content

Commit

Permalink
Fix #3, thanks @TemaSM and @AEK-BKF
Browse files Browse the repository at this point in the history
  • Loading branch information
youchenlee committed May 3, 2017
1 parent 0769ade commit 280e5f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Setting/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public function get($key, $default_value = null)
}
}
$this->resetLang();
if (is_null($setting)) {
$setting = $default_value;
}
return $setting;
}

Expand Down

0 comments on commit 280e5f5

Please sign in to comment.