diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php index 7c5c7a28150eb57bf8c23a9d9e08b423f2dc552d..f72a772dcecdcc6ccc4c424fb6b12d6be5a2c5b5 100644 --- a/lib/SimpleSAML/XHTML/Template.php +++ b/lib/SimpleSAML/XHTML/Template.php @@ -275,9 +275,9 @@ class SimpleSAML_XHTML_Template { */ public function includeInlineTranslation($tag, $translation) { - if (is_string($translaton)) { + if (is_string($translation)) { $translation = array($selected_language => $translated); - } elseif (!is_array($translaton)) { + } elseif (!is_array($translation)) { throw new Exception("Inline translation should be string or array. Is " . gettype($translation) . " now!"); } if (!is_array($this->langtext))