Skip to content

Commit

Permalink
Update i18n.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nik-os authored Aug 16, 2016
1 parent e97b223 commit 4226ebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ protected function renderMetaTags($current, $default, $href)
* @param array $parameters Collection of data passed to current view
* @param Module $module Pointer to active core module
*/
public function templateRenderer(&$html, $parameters, $module)
public function templateRenderer(&$html)
{
$html = str_ireplace('</head>', $this->renderMetaTags(SamsonLocale::current(), SamsonLocale::$defaultLocale, url()->text).'</head>', $html);
$html = str_ireplace('<html>', '<html lang="'.SamsonLocale::current().'">', $html);
Expand Down

0 comments on commit 4226ebe

Please sign in to comment.