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