From 678a77773b512fd93e2340b6951955ed8632c96a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 16 Mar 2013 14:33:15 +0000 Subject: [PATCH] fixed attribute injection for password mails (146) --- lam/lib/account.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 4c283389..fe83ed5e 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -891,6 +891,7 @@ function extractDNSuffix($dn) { * @return array list of arrays that can be used to create status messages */ function sendPasswordMail($pwd, $user) { + $user = array_change_key_case($user, CASE_LOWER); // read mail data $mailTo = $user['mail'][0]; $mailFrom = $_SESSION['config']->getLamProMailFrom();