Skip to content
Snippets Groups Projects
Commit a5732061 authored by Olav Morken's avatar Olav Morken
Browse files

status template: Fix nested attribute translation after r2581.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2586 44740490-163a-0410-bde0-09ae8108e29a
parent c6756932
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ function present_attributes($t, $attributes, $nameParent) {
foreach ($attributes as $name => $value) {
$nameraw = $name;
$name = $t->getAttributeTranslation($nameraw);
$name = $t->getAttributeTranslation($parentStr . $nameraw);
if (preg_match('/^child_/', $nameraw)) {
$parentName = preg_replace('/^child_/', '', $nameraw);
......
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