Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix(LocalizedString): use graceful flag for language property getter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed Mar 14, 2016
1 parent 76db8b5 commit 621195d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Common/LocalizedString.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(array $values, $context = null)
public function __get($locale)
{
$context = new Context();
$context->setLanguages([$locale]);
$context->setLanguages([$locale])->setGraceful($this->getContext()->isGraceful());
return $this->get($context);
}

Expand Down

1 comment on commit 621195d

@jenschude
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #183

Please # to comment.