diff --git a/classes/Locale.php b/classes/Locale.php index 72e84e6..081e215 100644 --- a/classes/Locale.php +++ b/classes/Locale.php @@ -51,13 +51,11 @@ class Locale /** * Get the full name of the locale. * - * @param Locale $displayLocale Locale to get the name in - * * @return string */ - public function getFullName(Locale $displayLocale) + public function getFullName() { - return \Locale::getDisplayName($this->getIso15897(), $displayLocale->getIso15897()); + return \Locale::getDisplayName($this->getIso15897(), $this->getIso15897()); } /** diff --git a/templates/inc/header.tpl b/templates/inc/header.tpl index 71f24d2..fe57900 100644 --- a/templates/inc/header.tpl +++ b/templates/inc/header.tpl @@ -7,7 +7,7 @@