Skip to content
Snippets Groups Projects
Commit 83bd3541 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix for dictionary merging of translations...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2101 44740490-163a-0410-bde0-09ae8108e29a
parent d935d5d1
No related branches found
No related tags found
No related merge requests found
......@@ -480,7 +480,8 @@ class SimpleSAML_XHTML_Template {
// Merge two translation arrays.
public static function lang_merge($def, $lang) {
foreach($def AS $key => $value) {
$def[$key] = array_merge($value, $lang[$key]);
if (array_key_exists($key, $lang))
$def[$key] = array_merge($value, $lang[$key]);
}
return $def;
}
......
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