Skip to content

Commit

Permalink
Removing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed May 7, 2016
1 parent 83d43b9 commit 570a602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function get($name, $locale = null, $default = null)
{
$defaultFromConfig = $this->getDefaultFromConfigFor($name);

$setting = $this->setting->findByName($name); //before that change I could not fetch any setting!!!
$setting = $this->setting->findByName($name);
if (! $setting) {
return is_null($default) ? $defaultFromConfig : $default;
}
Expand Down

0 comments on commit 570a602

Please sign in to comment.