diff options
author | alecpl <alec@alec.pl> | 2010-08-06 14:39:10 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-08-06 14:39:10 +0000 |
commit | 532c2504f43ec0d92f186bbe8bc0b64e7c36a976 (patch) | |
tree | 7f76d983f9c46edc4ea23f2149584471aa436f73 /program/include/rcube_user.php | |
parent | eef0dae8650e4a639cb5048300c416b4f586e189 (diff) |
- Add 'language' parameter in 'user_create' hook (#1486896)
Diffstat (limited to 'program/include/rcube_user.php')
-rw-r--r-- | program/include/rcube_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index 557d31480..1e05d992f 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -406,7 +406,7 @@ class rcube_user strip_newlines($user), strip_newlines($host), strip_newlines($data['alias'] ? $data['alias'] : $user_email), - $_SESSION['language']); + strip_newlines($data['language'] ? $data['language'] : $_SESSION['language'])); if ($user_id = $dbh->insert_id('users')) { // create rcube_user instance to make plugin hooks work |