diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 05f7277c89c53718eb871607eefa9967e33171ef..1f365346bdf7080a47c057d25841bf2ea7e38dc0 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -224,7 +224,7 @@ class SimpleSAML_XHTML_Template * Wraps Language->getLanguageList */ private function getLanguageList() { - return $this->translator->language->getLanguageList(); + return $this->translator->getLanguage()->getLanguageList(); } @@ -295,7 +295,7 @@ class SimpleSAML_XHTML_Template * Wrap Language->isLanguageRTL */ private function isLanguageRTL() { - return $this->translator->language->isLanguageRTL(); + return $this->translator->getLanguage()->isLanguageRTL(); }