Skip to content

Commit

Permalink
Fix wrong variable use for OutputFilter setLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
HLeithner committed Aug 14, 2023
1 parent e3b9f19 commit bfb49cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Application/WebApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function loadDocument(Document $document = null)
public function loadLanguage(Language $language = null)
{
$this->language = $language ?? Factory::getLanguage();
OutputFilter::setLanguage($language);
OutputFilter::setLanguage($this->language);

return $this;
}
Expand Down

0 comments on commit bfb49cb

Please sign in to comment.