Skip to content
Snippets Groups Projects
Commit b737439e authored by Mads Freek Petersen's avatar Mads Freek Petersen
Browse files

Fix of stupid typo!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@559 44740490-163a-0410-bde0-09ae8108e29a
parent 332aed88
No related branches found
No related tags found
Loading
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment