From c67569324f33306e5524fb09f640b5b5bedf3865 Mon Sep 17 00:00:00 2001 From: Olav Morken <olav.morken@uninett.no> Date: Thu, 21 Oct 2010 11:31:49 +0000 Subject: [PATCH] consent: Fix nested attribute translation after r2581. git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2585 44740490-163a-0410-bde0-09ae8108e29a --- modules/consent/templates/consentform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/consent/templates/consentform.php b/modules/consent/templates/consentform.php index 3b737f81b..bbe3d790f 100644 --- a/modules/consent/templates/consentform.php +++ b/modules/consent/templates/consentform.php @@ -137,7 +137,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)) { // Insert child table -- GitLab