From a57320614f2e4db2441d0c73550167c7ff9e29d2 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 21 Oct 2010 11:48:46 +0000 Subject: [PATCH] status template: Fix nested attribute translation after r2581. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2586 44740490-163a-0410-bde0-09ae8108e29a --- templates/status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/status.php b/templates/status.php index faa37875e..6656e3b8e 100644 --- a/templates/status.php +++ b/templates/status.php @@ -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); -- GitLab