summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/kolab_recipient_policy.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/kolab_recipient_policy.php b/lib/kolab_recipient_policy.php
index 036f56a..d9bf1da 100644
--- a/lib/kolab_recipient_policy.php
+++ b/lib/kolab_recipient_policy.php
@@ -64,10 +64,12 @@ class kolab_recipient_policy
}
if (isset($keymap[$key])) {
- $key = $keymap[$key];
+ _$key = $keymap[$key];
+ } else {
+ _$key = $key;
}
- $userdata[$key] = self::normalize($userdata[$key], $userdata['preferredlanguage']);
+ $userdata[_$key] = self::normalize($userdata[$key], $userdata['preferredlanguage']);
}
return $userdata;