Skip to content

Commit

Permalink
Added cache control
Browse files Browse the repository at this point in the history
  • Loading branch information
autocar committed Dec 13, 2015
1 parent 4e4df0f commit be981be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Setting/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private function hasByKey($key)
$setting = static::getSubValue($key);
return (empty($setting)) ? false : true;
} else {
if (Cache::has(key.'@'.$this->lang)) {
if (Cache::has($key.'@'.$this->lang)) {
$setting = Cache::get($key.'@'.$this->lang);
} else {
$setting = Storage::retrieve($key, $this->lang);
Expand Down

0 comments on commit be981be

Please sign in to comment.